Show pending count only if there are pending examples

This commit is contained in:
Michael Miller 2021-07-31 15:02:21 -06:00
parent abe78410c4
commit edcb5118e6
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -38,7 +38,9 @@ module Spectator::Formatting::Components
io << " (" << @errors << " errors)"
end
io << ", " << @pending << " pending"
if @pending > 1
io << ", " << @pending << " pending"
end
end
end
end