You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's because of how the imports process works, and testify clearly not provided. I guess I will fix this as part of #152 as it also affects my tests alongside of #154
go.mod:
example.go:
run:
gotests -template testify -only '^Foo$' ./example.go
Output:
Note the import of
assert
from the wrong package.If I run
go clean -modcache
, and thengo mod download
and then rungotests
again, it generates the proper imports.The output of this tool should not be broken by the presence of unrelated packages in the module cache.
The text was updated successfully, but these errors were encountered: