diff options
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 7c13978dc1..0dd002ddc0 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -103,7 +103,7 @@ class TestGc < Test::Unit::TestCase def test_latest_gc_info GC.start - GC.stat[:heap_free_slot].times{ "a" + "b" } + GC.stat(:heap_free_slot).times{ "a" + "b" } assert_equal :newobj, GC.latest_gc_info[:gc_by] GC.start |