* 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
This commit is contained in:
tmm1 2013-11-27 07:07:59 +00:00
Родитель 0094b7bb68
Коммит f8994603b3
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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"