diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-02 07:59:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-02 07:59:20 +0000 |
commit | 02ddcb4b66d4d3348d2f4d4178467e4ad836cbf9 (patch) | |
tree | f2e704328087870b1cba7b914c49477e4ac8c258 /test | |
parent | 41fe52485793ff23590e7b760737b8390fd8cee1 (diff) | |
download | ruby-02ddcb4b66d4d3348d2f4d4178467e4ad836cbf9.tar.gz |
leakchecker.rb: MiniTest::Unit.output
* test/lib/leakchecker.rb (LeakChecker#puts): send output to
MiniTest::Unit.output, not to be mixed with parallel test
commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/leakchecker.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb index 87bc3711c2..aa7e2c54a4 100644 --- a/test/lib/leakchecker.rb +++ b/test/lib/leakchecker.rb @@ -157,4 +157,8 @@ class LeakChecker @thread_info = live2 return leaked end + + def puts(*a) + MiniTest::Unit.output.puts(*a) + end end |