go/gopls/internal/regtest
Robert Griesemer 33c1ddd5a8 tools/gopls/internal/regtest/diagnostics: handle new error message
Pending CL 426477 changes go/types error messages containing the phrase:

	type parameters require

to:

	type parameter requires

Adjust diagnostics test accordingly (note that regular expressions are
currently not supported).

For golang/go#54511.

Change-Id: I561cb940a41cb6cc949c44e0d4b8f009336a46cd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/427736
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
2022-09-02 00:49:50 +00:00
..
bench gopls/internal/regtest/bench: replace -gopls_version with -gopls_commit 2022-08-15 19:50:52 +00:00
codelens internal/lsp/tests: simplify comparison of markdown at go1.18 2022-08-31 21:08:24 +00:00
completion internal/lsp/regtest: only run /default tests with -short 2022-07-26 21:20:53 +00:00
debug internal/lsp/regtest: allow sharing memoized results across regtests 2022-07-26 21:20:42 +00:00
diagnostics tools/gopls/internal/regtest/diagnostics: handle new error message 2022-09-02 00:49:50 +00:00
inlayhints internal/lsp/regtest: simplify, consolidate, and document settings 2022-07-12 16:56:46 +00:00
misc internal/lsp/tests: simplify comparison of markdown at go1.18 2022-08-31 21:08:24 +00:00
modfile internal/lsp/tests: simplify comparison of markdown at go1.18 2022-08-31 21:08:24 +00:00
template gopls/internal/regtest/bench: refactor and improve benchmarks 2022-08-04 14:58:59 +00:00
watch internal/lsp: re-send diagnostics on file events 2022-08-02 18:52:36 +00:00
workspace internal/lsp/cache: clear shouldLoad IDs on load 2022-08-16 15:07:15 +00:00