golang / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
9.28k stars 610 forks source link

Move argument requirements for Do and DoAndReturn out of example code and into function commentary #572

Closed bconway closed 3 years ago

bconway commented 3 years ago

Regardless of the result of #558, this is not a new requirement (I believe), and the location of it in the example code was easy to miss.

The Do version excludes a reference to the output argument count, as the returns are ignored.