mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Missing ? on method name check
This commit is contained in:
parent
cacca99c0b
commit
d30e65ee2d
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module Spectator::Matchers
|
||||||
# Checks whether the matcher is satisifed with the expression given to it.
|
# Checks whether the matcher is satisifed with the expression given to it.
|
||||||
private def match?(actual : TestExpression(T)) : Bool forall T
|
private def match?(actual : TestExpression(T)) : Bool forall T
|
||||||
value = expected.value
|
value = expected.value
|
||||||
if value.responds_to?(:same)
|
if value.responds_to?(:same?)
|
||||||
value.same?(actual.value)
|
value.same?(actual.value)
|
||||||
else
|
else
|
||||||
# Value type (struct) comparison.
|
# Value type (struct) comparison.
|
||||||
|
|
Loading…
Reference in a new issue