go/gopls/internal/regtest/diagnostics
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
..
analysis_test.go go/analysis: remove stray print statement in the timeformat analyzer 2022-08-12 17:40:51 +00:00
builtin_test.go internal/lsp: don't call PackagesForFile on builtin.go 2021-04-29 13:06:21 +00:00
diagnostics_test.go tools/gopls/internal/regtest/diagnostics: handle new error message 2022-09-02 00:49:50 +00:00
invalidation_test.go internal/lsp: re-send diagnostics on file events 2022-08-02 18:52:36 +00:00
undeclared_test.go gopls/internal/regtest/bench: refactor and improve benchmarks 2022-08-04 14:58:59 +00:00