From fa326bf3129e91f7c18fcc8ec1c979e2d3a9773a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 9 Sep 2014 11:22:23 +0000 Subject: GC.stat key name * test/-ext-/tracepoint/test_tracepoint.rb: follow the change of key name of GC.stat. * test/ruby/test_hash.rb (TestHash#test_AREF_fstring_key): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_hash.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 9fe64b38a0..dd93a63340 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -217,9 +217,9 @@ class TestHash < Test::Unit::TestCase def test_AREF_fstring_key h = {"abc" => 1} - before = GC.stat(:total_allocated_object) + before = GC.stat(:total_allocated_objects) 5.times{ h["abc"] } - assert_equal before, GC.stat(:total_allocated_object) + assert_equal before, GC.stat(:total_allocated_objects) end def test_ASET_fstring_key -- cgit v1.2.3