diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-27 07:07:59 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-27 07:07:59 +0000 |
commit | f8994603b3058e9514d84ea603e4efae3b5d6986 (patch) | |
tree | 3c8ed3ca809922e9abe089f203846324b755dd17 | |
parent | 0094b7bb6822fb230cc3475d49faff15674bb886 (diff) | |
download | ruby-f8994603b3058e9514d84ea603e4efae3b5d6986.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Nov 27 16:07:19 2013 Aman Gupta <ruby@tmm1.net> + + * test/ruby/test_gc.rb (class TestGc): Fix warning in + test_expand_heap. + Wed Nov 27 15:55:52 2013 Aman Gupta <ruby@tmm1.net> * 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" |