Skip to content

Commit

Permalink
test: reduce unnecessary output
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Jun 16, 2012
1 parent c05042c commit c1740d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test/unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def _run_parallel suites, type, result
@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|
Expand Down

0 comments on commit c1740d8

Please sign in to comment.