Formatting

This commit is contained in:
Michael Miller 2019-03-03 10:32:00 -07:00
parent 8310ea2aa5
commit 5481c3d431

View file

@ -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