diff --git a/src/spectator/matchers/array_matcher.cr b/src/spectator/matchers/array_matcher.cr index b994278..66594a9 100644 --- a/src/spectator/matchers/array_matcher.cr +++ b/src/spectator/matchers/array_matcher.cr @@ -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 diff --git a/src/spectator/matchers/unordered_array_matcher.cr b/src/spectator/matchers/unordered_array_matcher.cr index 8c5ed49..9014aa1 100644 --- a/src/spectator/matchers/unordered_array_matcher.cr +++ b/src/spectator/matchers/unordered_array_matcher.cr @@ -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