go/gopls/internal/lsp/cmd/test
Robert Findley 10e9d3cefa gopls/internal/lsp: tolerate new 'imported and not used' error message
Tolerate the new form of the "... imported but not used" error message,
to allow landing this change in go/types.

Along the way, improve the test output when comparing diagnostics, and
formatting results.

For golang/go#54845

Change-Id: I998d539f82e0f70c85bdb4c40858be5e01dd08b6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/435355
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
2022-09-27 19:33:44 +00:00
..
call_hierarchy.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
check.go gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
cmdtest.go gopls/test: fix erroneously skipped tests, remove redundant cmd tests 2022-09-20 12:40:42 +00:00
definition.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
folding_range.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
format.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
highlight.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
implementation.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
imports.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
links.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
prepare_rename.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
references.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
rename.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
semanticdriver.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
signature.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
suggested_fix.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00
symbols.go internal/lsp/source: derive document symbols from syntax alone 2022-09-23 13:51:08 +00:00
workspace_symbol.go gopls/internal/lsp/tests: pass in a *testing.T to Data.Golden 2022-09-21 12:54:23 +00:00