Get inspection string of attribute values

This commit is contained in:
Michael Miller 2019-08-09 14:01:10 -06:00
parent 751c15434b
commit 2251168631

View file

@ -63,8 +63,8 @@ module Spectator::Matchers
{% begin %}
{
{% for attribute in ExpectedType.keys %}
{{"expected " + attribute.stringify}}: expected.value[{{attribute.symbolize}}]),
{{"actual " + attribute.stringify}}: snapshot[{{attribute.symbolize}}],
{{"expected " + attribute.stringify}}: expected.value[{{attribute.symbolize}}].inspect,
{{"actual " + attribute.stringify}}: snapshot[{{attribute.symbolize}}].inspect,
{% end %}
}
{% end %}