aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 7b3554cbed..213645a772 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -614,7 +614,9 @@ module Test
end
unless rep.empty?
rep.each do |r|
- report.push(*r[:report])
+ r[:report].each do |f|
+ report.push(puke(*f)) if f
+ end
end
@errors += rep.map{|x| x[:result][0] }.inject(:+)
@failures += rep.map{|x| x[:result][1] }.inject(:+)