[ruby/io-console] Move the condition to omit to command line option

https://github.com/ruby/io-console/commit/32583460e1
This commit is contained in:
Nobuyoshi Nakada 2024-01-30 18:00:41 +09:00
parent c2cb5b4463
commit 86547fd69d
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -52,7 +52,6 @@ class TestIO_Console < Test::Unit::TestCase
end if FailedPathExceptions end if FailedPathExceptions
def test_bad_keyword def test_bad_keyword
omit if RUBY_ENGINE == 'jruby'
assert_raise_with_message(ArgumentError, /unknown keyword:.*bad/) do assert_raise_with_message(ArgumentError, /unknown keyword:.*bad/) do
File.open(IO::NULL) do |f| File.open(IO::NULL) do |f|
f.raw(bad: 0) f.raw(bad: 0)