diff options
Diffstat (limited to 'test/lib/test/unit')
-rw-r--r-- | test/lib/test/unit/parallel.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb index c1b6094b8c..50d4427189 100644 --- a/test/lib/test/unit/parallel.rb +++ b/test/lib/test/unit/parallel.rb @@ -152,8 +152,7 @@ module Test end def _report(res, *args) # :nodoc: - res = "#{res} #{args.pack("m0")}" unless args.empty? - @stdout.puts(res) + @stdout.write(args.empty? ? "#{res}\n" : "#{res} #{args.pack("m0")}\n") end def puke(klass, meth, e) # :nodoc: |