aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/test_gc.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3519c7a49d..f80544c28e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 22 08:06:42 2012 Narihiro Nakamura <authornari@gmail.com>
+
+ * test/ruby/test_gc.rb (test_profiler_clear): fix wrong method
+ calls [Bug #7419] [ruby-core:49828].
+
Thu Nov 22 02:22:33 2012 Tadayoshi Funaba <tadf@dotrb.org>
* NEWS: edited (order etc).
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