diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/objspace/test_objspace.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 7752ff73c1..de2832d467 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -300,7 +300,8 @@ class TestObjSpace < Test::Unit::TestCase assert_not_match(/"too_complex_shape"/, info) tc.instance_variable_set(:@new_ivar, 1) info = ObjectSpace.dump(tc) - omit 'too flaky with YJIT' if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled? + omit 'flaky with YJIT' if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled? + omit 'flaky with RJIT' if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled? assert_match(/"too_complex_shape":true/, info) if defined?(JSON) assert_true(JSON.parse(info)["too_complex_shape"]) |