Match tense of failure block component

This commit is contained in:
Michael Miller 2022-08-29 21:13:58 -06:00
parent 0505f210f9
commit 7549351cce
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2

View file

@ -19,7 +19,7 @@ module Spectator::Formatting::Components
# Prefix for the second line of the block.
private def subtitle_label
case @error
when ExampleFailed then "Failed: "
when ExampleFailed then "Failure: "
else "Error: "
end.colorize(:red)
end