Closed oceanful closed 3 years ago
Generating a matcher for a map type in which both the key and value are in the same package (e.g. map[foo.Key]foo.Value) results in a duplicate import that fails to compile:
map[foo.Key]foo.Value
import ( "reflect" "github.com/petergtz/pegomock" foo "github.com/foo/foo" foo "github.com/foo/foo" )
Closing as this was resolved in #106.
Generating a matcher for a map type in which both the key and value are in the same package (e.g.
map[foo.Key]foo.Value
) results in a duplicate import that fails to compile: