Skip a failing test for Prism

This should be reverted once https://github.com/ruby/prism/issues/2249
is closed.
This commit is contained in:
Takashi Kokubun 2024-01-23 11:00:00 -08:00
parent a846d391d3
commit 557b69e83b
2 changed files with 5 additions and 1 deletions

View File

@ -798,4 +798,8 @@ def rjit_enabled?
ENV.fetch('RUN_OPTS', '').include?('rjit')
end
def prism_enabled?
ENV.fetch('RUN_OPTS', '').include?('--parser=prism')
end
exit main

View File

@ -14,7 +14,7 @@ assert_equal "ok", %q{
rescue ArgumentError
:ok
end
}
} unless prism_enabled? # https://github.com/ruby/prism/issues/2249
# regression test for send processing before side exit
assert_equal "ok", %q{