Segfault still occurring

Traced it to the message method in equality matcher.
Looks like converting the string to JSON causes the issue, don't know 
why.
Static string with no variables gets optimized out and still has the 
problem.
This commit is contained in:
Michael Miller 2019-04-06 12:08:27 -06:00
parent 0f4a92e5b2
commit f336b1261b

View file

@ -34,7 +34,8 @@ module Spectator::Matchers
# Describes the condition that satisfies the matcher.
# This is informational and displayed to the end-user.
def message
"#{@values.actual_label} is #{@values.expected_label} (using ==)"
#"#{@values.actual_label} is #{@values.expected_label} (using ==)"
"what about this?"
end
# Describes the condition that won't satsify the matcher.