mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
0094b7bb68
commit
f8994603b3
2 changed files with 6 additions and 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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue