summaryrefslogtreecommitdiff
path: root/test/io/console
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-12-02 18:43:19 +0900
committergit <svn-admin@ruby-lang.org>2022-12-02 10:33:36 +0000
commit21ed929e157f1b859534de421a9e3641a2ec22c8 (patch)
tree0c39640e67e55263df9bffd9bff587c0cf34bc41 /test/io/console
parent678bcfcaa686c0b3125c856a3fc53186126c7554 (diff)
[ruby/io-console] Omit on JRuby
https://github.com/ruby/io-console/commit/9122c181eb
Diffstat (limited to 'test/io/console')
-rw-r--r--test/io/console/test_io_console.rb1
1 files changed, 1 insertions, 0 deletions
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)