diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-21 23:09:46 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-21 23:09:46 +0000 |
commit | cda3a0c75e25b36169c3fa56068803cca9229242 (patch) | |
tree | 3a867f0e9e1152f88235cc5db95fb86d7fd7f95e /test | |
parent | 4c6a41145956c1d635b7255cba1df15501a43fa9 (diff) | |
download | ruby-cda3a0c75e25b36169c3fa56068803cca9229242.tar.gz |
* test/ruby/test_gc.rb (test_profiler_clear): fix wrong method
calls [Bug #7419] [ruby-core:49828].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_gc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 9fb9550147..9d68c1a9c0 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -124,12 +124,12 @@ class TestGc < Test::Unit::TestCase GC.start assert_equal(1, GC::Profiler.raw_data.size) - GC.clear + GC::Profiler.clear assert_equal(0, GC::Profiler.raw_data.size) 200.times{ GC.start } assert_equal(200, GC::Profiler.raw_data.size) - GC.clear + GC::Profiler.clear assert_equal(0, GC::Profiler.raw_data.size) ensure GC::Profiler.disable |