mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix deque creation
This commit is contained in:
parent
14876a8e9a
commit
eb1a99b3ab
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module Spectator::SpecBuilder
|
|||
|
||||
def add_default_stub(type : T.class, stub : Mocks::MethodStub) forall T
|
||||
key = type.name
|
||||
@default_stubs[key] = Dequeue.new unless @default_stubs.has_key?(key)
|
||||
@default_stubs[key] = Deque(Mocks::MethodStub).new unless @default_stubs.has_key?(key)
|
||||
@default_stubs[key] << stub
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue