Fix parameters on LabeledValue

This commit is contained in:
Michael Miller 2019-08-01 15:58:48 -06:00
parent f004912fc1
commit 114a4077f3

View file

@ -43,7 +43,7 @@ module Spectator::Matchers
end end
private def values(actual) : Array(LabeledValue) private def values(actual) : Array(LabeledValue)
[LabeledValue.new(:actual, actual.value)] [LabeledValue.new(actual.value.to_s, "actual")]
end end
private def negated_values(actual) : Array(LabeledValue) private def negated_values(actual) : Array(LabeledValue)