Remove inspection quotes from around output values

This commit is contained in:
Michael Miller 2019-08-09 11:23:10 -06:00
parent 0dfde61807
commit e763296c26
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
module Spectator::Formatting
# A single labeled value from the `Spectator::Matchers::MatchData#value` method.
private struct MatchDataValuePair(T)
private struct MatchDataValuePair
# Creates the pair formatter.
def initialize(@key : Symbol, @value : T, @padding : Int32)
def initialize(@key : Symbol, @value : String, @padding : Int32)
end
# Appends the pair to the output.
@ -10,7 +10,7 @@ module Spectator::Formatting
@padding.times { io << ' ' }
io << @key
io << ": "
@value.inspect(io)
io << @value
end
end
end