go/internal/typeparams
Robert Griesemer 6a585a2bf9 x/tools/internal/typeparams: use regexp to match wanted result
CL 410955 changes printing of unions which breaks two typeparams tests.
Use regexp matching and adjust the wanted results accordingly.

For golang/go#53279.
For golang/go#54822.

Change-Id: I7060df47d36ce3069570237dafff024aaad637a5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/428055
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
2022-09-02 19:06:05 +00:00
..
genericfeatures internal/typeparams: guard against generics in stdlib tests 2021-10-25 20:36:35 +00:00
common.go internal/typeparams: remove examples in favor of x/exp/typeparams 2022-05-10 12:58:44 +00:00
common_test.go internal/typeparams: add a generic form of types.AssignableTo 2022-02-08 16:50:25 +00:00
copytermlist.go internal/typeparams: run go generate with go1.18.2 2022-05-11 13:38:50 +00:00
coretype.go internal/typeparams: adds core type implementation 2022-05-17 21:56:59 +00:00
coretype_test.go internal/typeparams: adds core type implementation 2022-05-17 21:56:59 +00:00
enabled_go117.go Revert "internal/typeparams: hide go1.18 API usage behind a build constraint" 2021-09-28 23:30:19 +00:00
enabled_go118.go Revert "internal/typeparams: hide go1.18 API usage behind a build constraint" 2021-09-28 23:30:19 +00:00
normalize.go all: gofmt 2022-04-12 17:53:17 +00:00
normalize_test.go x/tools/internal/typeparams: use regexp to match wanted result 2022-09-02 19:06:05 +00:00
termlist.go internal/typeparams: run go generate with go1.18.2 2022-05-11 13:38:50 +00:00
typeparams_go117.go internal/typeparams: add a generic form of types.AssignableTo 2022-02-08 16:50:25 +00:00
typeparams_go118.go internal/typeparams: add a generic form of types.AssignableTo 2022-02-08 16:50:25 +00:00
typeparams_test.go internal/typeparams: filter out API diffs related to types.Environment 2021-09-29 15:31:12 +00:00
typeterm.go internal/typeparams: run go generate with go1.18.2 2022-05-11 13:38:50 +00:00