[PRISM] Ensure no void warnings in rubyoptions test
This commit is contained in:
parent
8e514bedf9
commit
5f2bcbb6d4
@ -306,7 +306,7 @@ class TestRubyOptions < Test::Unit::TestCase
|
||||
|
||||
assert_in_out_err(%w(--parser=prism -e) + ["puts :hi"], "", %w(hi), warning)
|
||||
assert_in_out_err(%w(--parser=prism -W:no-experimental -e) + ["puts :hi"], "", %w(hi), [])
|
||||
assert_in_out_err(%w(--parser=prism -W:no-experimental --dump=parsetree -e :hi), "", /"hi"/, [])
|
||||
assert_in_out_err(%w(--parser=prism -W:no-experimental --dump=parsetree -e _=:hi), "", /"hi"/, [])
|
||||
|
||||
assert_in_out_err(%w(--parser=parse.y -e) + ["puts :hi"], "", %w(hi), [])
|
||||
assert_norun_with_rflag('--parser=parse.y', '--version', "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user