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:
parent
a846d391d3
commit
557b69e83b
@ -798,4 +798,8 @@ def rjit_enabled?
|
|||||||
ENV.fetch('RUN_OPTS', '').include?('rjit')
|
ENV.fetch('RUN_OPTS', '').include?('rjit')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def prism_enabled?
|
||||||
|
ENV.fetch('RUN_OPTS', '').include?('--parser=prism')
|
||||||
|
end
|
||||||
|
|
||||||
exit main
|
exit main
|
||||||
|
@ -14,7 +14,7 @@ assert_equal "ok", %q{
|
|||||||
rescue ArgumentError
|
rescue ArgumentError
|
||||||
:ok
|
:ok
|
||||||
end
|
end
|
||||||
}
|
} unless prism_enabled? # https://github.com/ruby/prism/issues/2249
|
||||||
|
|
||||||
# regression test for send processing before side exit
|
# regression test for send processing before side exit
|
||||||
assert_equal "ok", %q{
|
assert_equal "ok", %q{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user