From f8994603b3058e9514d84ea603e4efae3b5d6986 Mon Sep 17 00:00:00 2001 From: tmm1 Date: Wed, 27 Nov 2013 07:07:59 +0000 Subject: * test/ruby/test_gc.rb (class TestGc): Fix warning in test_expand_heap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_gc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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" -- cgit v1.2.3