diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-26 02:11:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-26 02:11:24 +0000 |
commit | 4f5357689b3fa773791727e614567f2ec137b464 (patch) | |
tree | d4f9b330f93d9bb7a02f26b80a914e5580dd0ada | |
parent | 999e4db6f0ecb9fa819c8b545c759f82921b3a2f (diff) |
leakchecker.rb: no conversion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/lib/leakchecker.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb index be4b83681f..8094fcbde7 100644 --- a/test/lib/leakchecker.rb +++ b/test/lib/leakchecker.rb @@ -198,6 +198,10 @@ class LeakChecker end def puts(*a) - MiniTest::Unit.output.puts(*a) + output = MiniTest::Unit.output + if defined?(output.set_encoding) + output.set_encoding(nil, nil) + end + output.puts(*a) end end |