diff --git a/ChangeLog b/ChangeLog index f22e9f086a..6e1f99980d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 27 16:07:19 2013 Aman Gupta + + * test/ruby/test_gc.rb (class TestGc): Fix warning in + test_expand_heap. + Wed Nov 27 15:55:52 2013 Aman Gupta * gc.c (Init_GC): Add new GC::INTERNAL_CONSTANTS for information about diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index ce7c5c3927..0d101f609b 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -202,7 +202,7 @@ class TestGc < Test::Unit::TestCase 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"