mirror of
https://github.com/ruby/ruby.git
synced 2025-08-27 23:16:42 +02:00
[PRISM] Ensure no void warnings in rubyoptions test
This commit is contained in:
parent
8e514bedf9
commit
5f2bcbb6d4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue