mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix dumb
This commit is contained in:
parent
708fd692ae
commit
efca1409c6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue