x/tools/internal/lsp: tests fail when run from the module cache #40310
Labels
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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
Many of the tests for
golang.org/x/tools/internal/lsp/...
fail when run from the module cache, due to thego.mod
files intestdata
subdirectories cutting off the module (see #27852).Since the
internal/lsp
package isn't imported by anything other thangopls
, these failures will not occur ingo test all
in any other module. However, if a user runsgo test golang.org/x/tools/...
to be sure they have picked up any relevant integration tests for other packages they have imported fromx/tools
, they may see these failures.CC @ianthehat @stamblerre @findleyr
The text was updated successfully, but these errors were encountered: