mokiat / gostub

Stubbing framework for the Go Language
Apache License 2.0
2 stars 2 forks source link

resolution: Take into account package name when adding imports #3

Open Bo0mer opened 6 years ago

Bo0mer commented 6 years ago

Fixes https://github.com/mokiat/gostub/issues/2.

mokiat commented 6 years ago

@Bo0mer , could you provide a bit more context on this change. What is the problem it is trying to solve. Is it possible to implement a test that verifies the change?

Bo0mer commented 6 years ago

I'll try to provide a minimal example that reproduces the problem and add it as a test (in addition to fixing the current test suite). This will happen maybe next week :)