From 5481c3d4317a1cd1e87f4d2ee96c60bc49d7e257 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 3 Mar 2019 10:32:00 -0700 Subject: [PATCH] Formatting --- src/spectator/formatting/failure_block.cr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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