-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/go: test with coverage unexpect fail #43242
Comments
Change https://golang.org/cl/278892 mentions this issue: |
What is in your "bar" directory? Please provide clear steps to reproduce this issue. |
empty bar.go
bar_test.go
|
Okay, here is a full reproducer:
It seems like a bug to me, since Also, please add a test to your patch. |
Yep, this is a bug. Duplicate of #27333 though. There are a number of problems with In any case, there needs to be a pretty thorough regression test. @forsaken628 if you're interested in writing that, see src/cmd/go/testdata/script/README. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
run test at dir like this
What did you expect to see?
test pass
What did you see instead?
The text was updated successfully, but these errors were encountered: