This commit is contained in:
Michael Miller 2021-08-19 13:00:51 -06:00
parent 708fd692ae
commit efca1409c6
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -34,11 +34,11 @@ module Spectator::Formatting::Components
def to_s(io)
io << @examples << " examples, " << @failures << " failures"
if @errors > 1
if @errors > 0
io << " (" << @errors << " errors)"
end
if @pending > 1
if @pending > 0
io << ", " << @pending << " pending"
end
end