diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index 5e64c83b5c41c2..43ed9f2803036b 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -9,7 +9,7 @@ def test(args) end [test(Array.new 5), test([])] -} +} unless defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled? # Not yet working on RJIT # regression test for arity check with splat and send assert_equal '[:ae, :ae]', %q{