diff options
Diffstat (limited to 'test/lib/minitest')
-rw-r--r-- | test/lib/minitest/unit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb index b084318bb1..b7dd183d20 100644 --- a/test/lib/minitest/unit.rb +++ b/test/lib/minitest/unit.rb @@ -900,7 +900,8 @@ module MiniTest puts "Finished%s %ss in %.6fs, %.4f tests/s, %.4f assertions/s.\n" % [(@repeat_count ? "(#{count}/#{@repeat_count}) " : ""), type, t, @test_count.fdiv(t), @assertion_count.fdiv(t)] - end while @repeat_count && count < @repeat_count && report.empty? + end while @repeat_count && count < @repeat_count && + report.empty? && failures.zero? && errors.zero? output.sync = old_sync if sync |