mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Minor adjustments to equality matcher
This commit is contained in:
parent
ec06daaf35
commit
50a782b803
2 changed files with 9 additions and 9 deletions
|
@ -11,7 +11,7 @@ module Spectator::Matchers
|
|||
|
||||
# Determines whether the matcher is satisfied with the partial given to it.
|
||||
# `MatchData` is returned that contains information about the match.
|
||||
def match(partial) : MatchData
|
||||
def match(partial)
|
||||
values = ExpectedActual.new(partial, self)
|
||||
MatchData.new(match?(values.actual), values)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue