diff --git a/src/spectator/formatting/failure_block.cr b/src/spectator/formatting/failure_block.cr index 743cf4b..4b7276e 100644 --- a/src/spectator/formatting/failure_block.cr +++ b/src/spectator/formatting/failure_block.cr @@ -66,10 +66,10 @@ module Spectator::Formatting private def matcher_values(indent, expectation) MatchDataValues.new(expectation.values).each do |pair| colored_pair = if expectation.satisfied? - Color.success(pair) - else - Color.failure(pair) - end + Color.success(pair) + else + Color.failure(pair) + end indent.line(colored_pair) end end