[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:
parent
c2cb5b4463
commit
86547fd69d
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user