From 96f21e9dd11aaaba27ea3346eb81541a288c0033 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 21 Feb 2024 10:26:49 -0500 Subject: [PATCH] Re-enable test now that dump is all ASCII --- test/ruby/test_rubyoptions.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 5e136221ec..856593f9f6 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -297,10 +297,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), []) - - if Encoding.locale_charmap == 'UTF-8' - assert_in_out_err(%w(--parser=prism -W:no-experimental --dump=parsetree -e :hi), "", /"hi"/, []) - end + 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', "")