summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-04-12 10:29:39 -0400
committerKevin Newton <kddnewton@gmail.com>2024-04-12 10:29:39 -0400
commit5f2bcbb6d4476fcfc278d612e34a483f7592a581 (patch)
treeed70319892b8296a047b58c0265675cdf844b053 /test/ruby
parent8e514bedf983a8a0a2f358709823fabfc74407d7 (diff)
[PRISM] Ensure no void warnings in rubyoptions test
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 8ea4225139..76be9152a7 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -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', "")