mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Don't force Enumerable expected type
Should duck type anyway.
This commit is contained in:
parent
eef7e9ce3c
commit
955311bb95
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ module Spectator::Matchers
|
|||
struct ArrayMatcher(ExpectedType) < Matcher
|
||||
private getter expected
|
||||
|
||||
def initialize(@expected : TestValue(Enumerable(ExpectedType)))
|
||||
def initialize(@expected : TestValue(ExpectedType))
|
||||
end
|
||||
|
||||
def description
|
||||
|
|
|
@ -6,7 +6,7 @@ module Spectator::Matchers
|
|||
struct UnorderedArrayMatcher(ExpectedType) < Matcher
|
||||
private getter expected
|
||||
|
||||
def initialize(@expected : TestValue(Enumerable(ExpectedType)))
|
||||
def initialize(@expected : TestValue(ExpectedType))
|
||||
end
|
||||
|
||||
def description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue