Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

packages named "*_test" not supported by gotype #394

Closed
craigfurman opened this issue Mar 20, 2016 · 2 comments
Closed

packages named "*_test" not supported by gotype #394

craigfurman opened this issue Mar 20, 2016 · 2 comments

Comments

@craigfurman
Copy link

Hi Joe,

Gotype (called by gometalinter) does not catch compile errors in packages ending in "_test" (the preferred style of many Ginkgo users).

My gometalinter arguments are --vendor, --fast, --errors, --json, --tests, ./...

Test files that use the standard package name are fine.

I'm not sure what can really be done about this, and this sort of thing is unlikely to be supported in gotype itself, as it is described as being on "life support". I guess it might be worth calling this out in the docs at least?

Cheers,
Craig

@joefitzgerald
Copy link
Owner

Yep, this is a definite issue. Going to work on a new package to run go build and go test the way I used to.

@joefitzgerald
Copy link
Owner

This is fixed in go-plus 4.1.0 https://github.com/joefitzgerald/go-plus/releases/tag/v4.1.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants