diff options
Diffstat (limited to 'test/lib/leakchecker.rb')
-rw-r--r-- | test/lib/leakchecker.rb | 2 |
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| |