mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use #actual instead of #value
This commit is contained in:
parent
8c6552a995
commit
a827b191a1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module Spectator::Matchers
|
|||
# True is returned if the match was successful, false otherwise.
|
||||
def match?(partial : Expectations::ValueExpectationPartial(ActualType)) : Bool forall ActualType
|
||||
# Cast value to truthy value and compare.
|
||||
@expected == !!partial.value
|
||||
@expected == !!partial.actual
|
||||
end
|
||||
|
||||
# Describes the condition that satisfies the matcher.
|
||||
|
|
Loading…
Reference in a new issue