aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-16 17:09:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-16 17:35:09 +0900
commit8c3a60df2a671a538f9f7aef57adaa77ec817de9 (patch)
tree67cf048a9a7d28dc0f7716929ab82d567274ca8b /tool/lib
parentcc525d764b841fef1256222185647c670e9d199c (diff)
downloadruby-8c3a60df2a671a538f9f7aef57adaa77ec817de9.tar.gz
leakchecker.rb: show test name
When multiple autoclose IO objects are leaked too.
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/leakchecker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/leakchecker.rb b/tool/lib/leakchecker.rb
index 7ed48ec1ab..db274ca38c 100644
--- a/tool/lib/leakchecker.rb
+++ b/tool/lib/leakchecker.rb
@@ -118,7 +118,7 @@ class LeakChecker
next if list.length <= 1
if 1 < list.count {|io, autoclose, inspect| autoclose }
str = list.map {|io, autoclose, inspect| " #{inspect}" + (autoclose ? "(autoclose)" : "") }.sort.join
- puts "Multiple autoclose IO object for a file descriptor:#{str}"
+ puts "Multiple autoclose IO objects for a file descriptor in: #{test_name}: #{str}"
end
}
end