Re-enable test now that dump is all ASCII

This commit is contained in:
Kevin Newton 2024-02-21 10:26:49 -05:00
parent 2b2e61e6f9
commit 96f21e9dd1

View File

@ -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', "")