Closed jonathanbp closed 5 years ago
I have a generated mock that doesn't compile because it has a method where one of the arguments has the name m. This conflicts with the m name given to the mock itself in the Expect method:
m
Expect
func (m *mContextManager_ContextParticipantStreamServerMockRecvMsg) Expect(m interface{}) *mContextManager_ContextParticipantStreamServerMockRecvMsg { ...
This could be fixed by having a more unique name for the mock (in template.go?), I think.
template.go
Hi @jonathanbp !
Thanks for raising the issue, please check that v2.1.7 works for you.
It works - thanks for the quick response!
I have a generated mock that doesn't compile because it has a method where one of the arguments has the name
m
. This conflicts with them
name given to the mock itself in theExpect
method:This could be fixed by having a more unique name for the mock (in
template.go
?), I think.