aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile_test_all.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile_test_all.rb')
-rw-r--r--test/profile_test_all.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile_test_all.rb b/test/profile_test_all.rb
index 75c3ca8bba..005a5731c4 100644
--- a/test/profile_test_all.rb
+++ b/test/profile_test_all.rb
@@ -34,7 +34,7 @@ class MiniTest::Unit::TestCase
TEST_ALL_PROFILE_PROCS << b
end
- add 'emsize_of_all', *GC.stat.keys do |result|
+ add 'memsize_of_all', *GC.stat.keys do |result|
result << ObjectSpace.memsize_of_all
GC.stat(TEST_ALL_PROFILE_GC_STAT_HASH)
result.concat TEST_ALL_PROFILE_GC_STAT_HASH.values