-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: fails to find *_test
package when testing
#26807
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
Labels
Comments
Note that this is a regression: Go 1.11 beta 2 worked well with this case. |
@gopherbot, please add label modules |
Here is a trivial example to reproduce:
go1.11beta2 tests fine in both directories, but go1.11beta3 now fails in the module root with an external test package:
|
Looks like this is the same bug as #26722 |
Closing as duplicate. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (Go 1.11 Beta 3)
What operating system and processor architecture are you using (
go env
)?What did you do?
Note that Ebiten package has two package names:
ebiten
andebiten_test
.What did you expect to see?
Test succeeds.
What did you see instead?
Test fails with an error message:
The text was updated successfully, but these errors were encountered: