ruby-changes:31799
From: tmm1 <ko1@a...>
Date: Wed, 27 Nov 2013 16:08:06 +0900 (JST)
Subject: [ruby-changes:31799] tmm1:r43878 (trunk): * test/ruby/test_gc.rb (class TestGc): Fix warning in
tmm1 2013-11-27 16:07:59 +0900 (Wed, 27 Nov 2013) New Revision: 43878 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43878 Log: * test/ruby/test_gc.rb (class TestGc): Fix warning in test_expand_heap. Modified files: trunk/ChangeLog trunk/test/ruby/test_gc.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 43877) +++ ChangeLog (revision 43878) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Nov 27 16:07:19 2013 Aman Gupta <ruby@t...> + + * test/ruby/test_gc.rb (class TestGc): Fix warning in + test_expand_heap. + Wed Nov 27 15:55:52 2013 Aman Gupta <ruby@t...> * gc.c (Init_GC): Add new GC::INTERNAL_CONSTANTS for information about Index: test/ruby/test_gc.rb =================================================================== --- test/ruby/test_gc.rb (revision 43877) +++ test/ruby/test_gc.rb (revision 43878) @@ -202,7 +202,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L202 assert_separately %w[--disable-gem], __FILE__, __LINE__, <<-'eom' GC.start base_length = GC.stat[:heap_eden_page_length] - (base_length * 500).times{ 'a'; nil } + (base_length * 500).times{ 'a' } GC.start assert_equal base_length, GC.stat[:heap_eden_page_length], "invalid heap expanding" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/