tests aren't checked
tamird opened this issue · 2 comments
tamird commented
Seems that the call to (*golang.org/x/tools/go/loader.Config).Import
should be (*golang.org/x/tools/go/loader.Config).ImportWithTests
instead.
dmitshur commented
If support for tests is added, it would be nice to make it a boolean flag that's default true, similar to other tools, e.g.:
(/cc @dominikh FYI, link to your code.)
mdempsky commented
A -test
flag seems reasonable to me.