diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-24 20:06:02 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-24 20:06:02 +0000 |
commit | 84b7d6d533208bb9f73e3573ad2352dcf9e2e1b0 (patch) | |
tree | 7b6969cd2a58ae5dd9c31580337056948295f2a8 /test/-ext-/tracepoint | |
parent | 30e88ca8a71d152987e727b6d194cc783580567f (diff) | |
download | ruby-84b7d6d533208bb9f73e3573ad2352dcf9e2e1b0.tar.gz |
* test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes
at r43835.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/tracepoint')
-rw-r--r-- | test/-ext-/tracepoint/test_tracepoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb index 45792042af..967c65f368 100644 --- a/test/-ext-/tracepoint/test_tracepoint.rb +++ b/test/-ext-/tracepoint/test_tracepoint.rb @@ -44,7 +44,7 @@ class TestTracepointObj < Test::Unit::TestCase assert_operator stat2[:total_allocated_object] - stat1[:total_allocated_object], :>=, newobj_count assert_operator 1_000_000, :<=, newobj_count - assert_operator stat2[:total_freed_object] + stat2[:heap_final_num] - stat1[:total_freed_object], :>=, free_count + assert_operator stat2[:total_freed_object] + stat2[:heap_final_slot] - stat1[:total_freed_object], :>=, free_count assert_operator stat2[:count] - stat1[:count], :==, gc_start_count assert_operator gc_start_count, :>=, gc_end_count |