From 7549351cce93ccd79b920a79cb0ec9b28a99d8c6 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Mon, 29 Aug 2022 21:13:58 -0600 Subject: [PATCH] Match tense of failure block component --- src/spectator/formatting/components/error_result_block.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectator/formatting/components/error_result_block.cr b/src/spectator/formatting/components/error_result_block.cr index 3eb96fc..a24784a 100644 --- a/src/spectator/formatting/components/error_result_block.cr +++ b/src/spectator/formatting/components/error_result_block.cr @@ -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