What steps will reproduce the problem?
1. Create an import that must be aliased before it can be used, like foo/case.go
2. import c "foo/case"
3. Generate a mock for it.
What is the expected output? What do you see instead?
The generated mock includes import case "foo/case", which causes syntax error:
unexpected case.
The expected output would be a mock including a non-reserved word, like import
case0 ...
Original issue reported on code.google.com by bmichal...@google.com on 20 Feb 2014 at 1:44
Original issue reported on code.google.com by
bmichal...@google.com
on 20 Feb 2014 at 1:44