From e763296c2627ff72ce462f375ea559f12f760a8a Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Fri, 9 Aug 2019 11:23:10 -0600 Subject: [PATCH] Remove inspection quotes from around output values --- src/spectator/formatting/match_data_value_pair.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spectator/formatting/match_data_value_pair.cr b/src/spectator/formatting/match_data_value_pair.cr index 95fa57f..dd7f255 100644 --- a/src/spectator/formatting/match_data_value_pair.cr +++ b/src/spectator/formatting/match_data_value_pair.cr @@ -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