ruby-changes:25734
From: nari <ko1@a...>
Date: Thu, 22 Nov 2012 08:11:31 +0900 (JST)
Subject: [ruby-changes:25734] nari:r37791 (trunk): * test/ruby/test_gc.rb (test_profiler_clear): fix wrong method
nari 2012-11-22 08:09:46 +0900 (Thu, 22 Nov 2012) New Revision: 37791 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37791 Log: * test/ruby/test_gc.rb (test_profiler_clear): fix wrong method calls [Bug #7419] [ruby-core:49828]. Modified files: trunk/ChangeLog trunk/test/ruby/test_gc.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 37790) +++ ChangeLog (revision 37791) @@ -1,3 +1,8 @@ +Thu Nov 22 08:06:42 2012 Narihiro Nakamura <authornari@g...> + + * 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@d...> * NEWS: edited (order etc). Index: test/ruby/test_gc.rb =================================================================== --- test/ruby/test_gc.rb (revision 37790) +++ test/ruby/test_gc.rb (revision 37791) @@ -124,12 +124,12 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/