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