go/gopls/internal/regtest/workspace
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
..
broken_test.go internal/lsp/cache: allow network whenever reloading the workspace 2022-07-27 19:28:51 +00:00
metadata_test.go gopls/internal/regtest: add a test that ignoring a file resolves errors 2022-08-02 14:13:40 +00:00
workspace_test.go internal/lsp/cache: allow network whenever reloading the workspace 2022-07-27 19:28:51 +00:00