1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00
go/internal/lsp/testdata
Rebecca Stambler eb7c56241b internal/lsp: remove unknown dependency from highlight tests
The highlight tests imported golang.org/x/tools/internal/lsp/protocol
package, which doesn't exist when the testdata is set up in the test
harness. This causes gopls to try to reload the metadata for the
package. I'm not sure why this wasn't an issue before, since we should
re-run go/packages.Load every time we have missing dependencies.

Fixes golang/go#37365

Change-Id: I8ebcbbf78b7e6fcdac9ab83bef3f5a0c9a50a361
Reviewed-on: https://go-review.googlesource.com/c/tools/+/221107
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rohan Challa <rohan@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-02-26 20:52:01 +00:00
..
indirect internal/lsp: add codelens for go.mod dependency upgrades 2020-02-14 14:15:08 +00:00
lsp internal/lsp: remove unknown dependency from highlight tests 2020-02-26 20:52:01 +00:00
missingdep internal/lsp: add codelens for go.mod dependency upgrades 2020-02-14 14:15:08 +00:00
missingtwodep internal/lsp: add codelens for go.mod dependency upgrades 2020-02-14 14:15:08 +00:00
unused internal/lsp: add codelens for go.mod dependency upgrades 2020-02-14 14:15:08 +00:00
upgradedep internal/lsp: support textDocument/documentLink for .mod extension 2020-02-26 15:45:04 +00:00