1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test: reduce unnecessary output

* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no empty lines
  if no warnigs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-06-16 04:23:36 +00:00
parent c05042c95f
commit c1740d890a

View file

@ -626,7 +626,7 @@ module Test
@failures += rep.map{|x| x[:result][1] }.inject(:+)
@skips += rep.map{|x| x[:result][2] }.inject(:+)
end
if @warnings
unless @warnings.empty?
warn ""
ary = []
@warnings.reject! do |w|