go/gopls/internal
Robert Findley 310ea71b71 gopls/internal/regtest: add a test that ignoring a file resolves errors
Add a test that when a user adds a "//go:build ignore" to a file, gopls
correctly invalidates diagnostics.

This used to be broken, but was fixed by CL 417576.

Fixes golang/go#54147

Change-Id: I554fcfc0a56b72f657e19b3c0ae53a66d1a99a76
Reviewed-on: https://go-review.googlesource.com/c/tools/+/420537
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
2022-08-02 14:13:40 +00:00
..
coverage gopls/internal/coverage: apply gofmt to the build tag syntax 2021-04-08 20:55:59 +00:00
govulncheck gopls/internal/govulncheck: sync x/vuln@b9a3ad9 2022-07-22 16:51:01 +00:00
hooks internal/lsp/diff: new diff implementation to replace go-diff 2022-07-24 16:55:18 +00:00
regtest gopls/internal/regtest: add a test that ignoring a file resolves errors 2022-08-02 14:13:40 +00:00
vulncheck internal/lsp/regtest: allow sharing memoized results across regtests 2022-07-26 21:20:42 +00:00