diff options
-rw-r--r-- | test/io/console/test_io_console.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 105afc1738..ccc9c7c786 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -323,6 +323,8 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do end def test_cursor_position + return if RUBY_ENGINE == 'jruby' + run_pty("#{<<~"begin;"}\n#{<<~'end;'}") do |r, w, _| begin; con = IO.console |