mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Swap operands to get expected result
This commit is contained in:
parent
4a1b646015
commit
45cdef021b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Spectator::Matchers
|
|||
# Determines whether the matcher is satisfied with the value given to it.
|
||||
# True is returned if the match was successful, false otherwise.
|
||||
def match?(partial : Expectations::ValueExpectationPartial(ActualType)) : Bool forall ActualType
|
||||
partial.actual === expected
|
||||
expected === partial.actual
|
||||
end
|
||||
|
||||
# Describes the condition that satisfies the matcher.
|
||||
|
|
Loading…
Reference in a new issue