nelsam / hel

Hel rules over Helheim, where the souls unworthy of Valhalla reside. It's also a mock generator for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Types local to an interface's package are not updated with the package name when writing the mock to another package

nelsam opened this issue · comments

Issue #4 showed us that types local to a package containing an interface that we're mocking will not get their package name added automatically when they're written to a file with a different package name.

This means that we'll need to figure out a way to detect types being used as parameters or results that are local to an interface's package and include the package name if the test package is different from the main package.

Resolved by acf9fce