diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index ea23db5b4b..3f4b64bbcd 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -51,6 +51,7 @@ class TestIO_Console < Test::Unit::TestCase end def test_bad_keyword + omit if RUBY_ENGINE == 'jruby' assert_raise_with_message(ArgumentError, /unknown keyword:.*bad/) do File.open(IO::NULL) do |f| f.raw(bad: 0)