Closed telyn closed 6 years ago
Oops, I've just seen this PR, and I already fixed when I saw your issue. Take a look to https://github.com/maraino/go-mock/commit/a5453621342afce7f84b8478754ab02ff32c9c0a
It's almost the same fix.
Aw thanks! :) Wasn't expecting you to be so quick! ❤️
Fixes the issue I reported (#12) where calling a function which is mocked using MockFunction.Call and may return different values each time only ever returns the values from the first invocation (despite the function passed to MockFunction.Call being invoked again)