-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: 'go tool cover' fails when import path has a '.go' suffix #27096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I ran into this as well. This has pushed me back to 1.10 for code coverage analysis. @shuLhan FYI in your 1.10.3 example the directory suffix should be |
Any update in this for a fix? We renamed our NATS.io client to nats.go and are getting support issues ourselves. |
@derekcollison, work on this issue is unplanned (per its milestone). |
Hmm well that's not good ;) Seems like should be a one line fix in the Go tooling no? |
@derekcollison, if you have a one-line fix then please send it. 🙂 (CC @jayconrod) |
I have used that line before to for https://nats.io 🙂 |
This is fixed now:
|
What version of Go are you using (
go version
)?Go 1.11rc1 and bf80e3b
Does this issue reproduce with the latest release?
If by latest release means stable release, then no.
What operating system and processor architecture are you using (
go env
)?What did you do?
and main_test.go
What did you expect to see?
No error.
What did you see instead?
Notes
The text was updated successfully, but these errors were encountered: