golang/mock

In version 1.6.0, the inspection of variable-length parameter functions reports an error

pbkzsx opened this issue · 0 comments

When DoAndReturn checks the number of input parameters of the function, it does not consider the variable-length parameters, resulting in the failure of the mock variable-length parameter function.
In version 1.5.0, there is no feature of checking the number of parameters, so there is no problem.