qur / withmock

Automatic Go package mock generation tool
Other
71 stars 9 forks source link

Mock interfaces don't handle varidic methods correctly #31

Closed qur closed 10 years ago

qur commented 10 years ago

Whilst the code that we generate to handle regular types handles varidic methods, the code that is generated for constructing mocks for interfaces does not include this code - and therefore gets varidic methods wrong.