x/tools/gopls/internal/lsp/mod: TestModfileRemainsUnchanged fails when run as a dependency of another module #57784
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
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?
What did you expect to see?
Passing tests.
What did you see instead?
The problem is that the
testdata
directory contains ago.mod
file, which causes it not to be included in thegolang.org/x/tools
module containing the actual test (see #27852).The text was updated successfully, but these errors were encountered: