x/tools/gopls: renaming a test results in diagnostic error from test main #36312
Labels
Milestone
Comments
https://golang.org/cl/213660 just added the behavior to ignore test mains. Are you still seeing this issue with that CL? |
Thanks, that appears to fix it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Create these minimal files:
Now quit your editor (such that
gopls
closes) and run:Now re-open your editor, open
main_test.go
and renameTestThis -> TestThisAgain
What did you expect to see?
No diagnostic errors.
What did you see instead?
Diagnostic error:
cc @stamblerre
The text was updated successfully, but these errors were encountered: