Fix return type

This commit is contained in:
Michael Miller 2019-11-03 12:07:21 -07:00
parent f1a7018718
commit 2a484d5816

View file

@ -4,7 +4,7 @@ require "./value_method_stub"
module Spectator::Mocks module Spectator::Mocks
class NilMethodStub < GenericMethodStub(Nil) class NilMethodStub < GenericMethodStub(Nil)
def call(_args : GenericArguments(T, NT)) : ReturnType forall T, NT def call(_args : GenericArguments(T, NT)) : Nil forall T, NT
nil nil
end end