summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-20 11:43:05 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-20 11:43:05 +0000
commit8ae9de372ab9a8d88de5eee02d7e4e7287a24872 (patch)
tree153d6209782c087aa779645d34aa00adeffff38f /test/lib
parentd5f86e836faa87cf75db2112538f53bdbe627a08 (diff)
Fixed missing handling for frozen object at r59121.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/leakchecker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb
index 336809bc40..be4b83681f 100644
--- a/test/lib/leakchecker.rb
+++ b/test/lib/leakchecker.rb
@@ -61,7 +61,7 @@ class LeakChecker
(h[fd] ||= []) << [io, autoclose, inspect]
}
fd_leaked.each {|fd|
- str = ''
+ str = ''.dup
if h[fd]
str << ' :'
h[fd].map {|io, autoclose, inspect|