mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove inspection quotes from around output values
This commit is contained in:
parent
0dfde61807
commit
e763296c26
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
module Spectator::Formatting
|
module Spectator::Formatting
|
||||||
# A single labeled value from the `Spectator::Matchers::MatchData#value` method.
|
# A single labeled value from the `Spectator::Matchers::MatchData#value` method.
|
||||||
private struct MatchDataValuePair(T)
|
private struct MatchDataValuePair
|
||||||
# Creates the pair formatter.
|
# Creates the pair formatter.
|
||||||
def initialize(@key : Symbol, @value : T, @padding : Int32)
|
def initialize(@key : Symbol, @value : String, @padding : Int32)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Appends the pair to the output.
|
# Appends the pair to the output.
|
||||||
|
@ -10,7 +10,7 @@ module Spectator::Formatting
|
||||||
@padding.times { io << ' ' }
|
@padding.times { io << ' ' }
|
||||||
io << @key
|
io << @key
|
||||||
io << ": "
|
io << ": "
|
||||||
@value.inspect(io)
|
io << @value
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue