diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_gc.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 77f5d8caaa..401af99f3b 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -56,8 +56,9 @@ class TestGc < Test::Unit::TestCase return unless use_rgengc? skip 'stress' if GC.stress + GC.start # full mark and next time it should be minor mark GC.start(full_mark: false) - assert_nil GC.latest_gc_info(:major_by) + assert_nil GC.latest_gc_info(:major_by, msg) GC.start(full_mark: true) assert_not_nil GC.latest_gc_info(:major_by) |
