diff --git a/src/spectator/formatting/components/totals.cr b/src/spectator/formatting/components/totals.cr index 6071e39..bd65ead 100644 --- a/src/spectator/formatting/components/totals.cr +++ b/src/spectator/formatting/components/totals.cr @@ -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