Pass through prefixed value #inspect method

This commit is contained in:
Michael Miller 2019-03-06 14:30:46 -07:00
parent fbee1d9461
commit acf52e1553

View file

@ -14,5 +14,12 @@ module Spectator::Matchers
io << ' ' io << ' '
io << @value io << @value
end end
# Outputs details of the formatted value with a prefix.
def inspect(io)
io << @prefix
io << ' '
@prefix.inspect(io)
end
end end
end end