summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-11 01:25:20 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-11 01:25:20 +0000
commit89dff2712d44b0e9111ff9324af46068f2d2a58e (patch)
tree03f70593121f27b3d9ce99cd97c9d076d5db050d /test
parentef0ce95daffe32be9d89f82cce0e4000dbc3fc02 (diff)
r45298 fix trivial bug
$initial_size must be a size, not a status git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/envutil.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index 90a39e7140..9bf4b6cd56 100644
--- a/test/ruby/envutil.rb
+++ b/test/ruby/envutil.rb
@@ -406,7 +406,8 @@ eom
cmd = [
'END {STDERR.puts '"#{token_dump}"'"FINAL=#{Memory::Status.new}"}',
prepare,
- 'STDERR.puts('"#{token_dump}"'"START=#{$initial_size = Memory::Status.new}")',
+ 'STDERR.puts('"#{token_dump}"'"START=#{$initial_status = Memory::Status.new}")',
+ '$initial_size = $initial_status.size',
code,
'GC.start',
].join("\n")