diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-09 11:22:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-09 11:22:23 +0000 |
commit | fa326bf3129e91f7c18fcc8ec1c979e2d3a9773a (patch) | |
tree | 85389d513e1f7c6624f5bec20184dda55db9b361 /test/ruby/test_hash.rb | |
parent | 9b6bc26f878d96a25d4721396296266a22b2c05f (diff) | |
download | ruby-fa326bf3129e91f7c18fcc8ec1c979e2d3a9773a.tar.gz |
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
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r-- | test/ruby/test_hash.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |