]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: consolidate testdata/spec test files
authorRobert Griesemer <gri@golang.org>
Thu, 18 Aug 2022 01:23:04 +0000 (18:23 -0700)
committerRobert Griesemer <gri@google.com>
Thu, 18 Aug 2022 21:54:30 +0000 (21:54 +0000)
commit17211c355f015862b635f8cbd48ffc65a1081b92
tree10b92a80aa5b00de897217202133ee829a902d08
parent9ad772033f04ea9b3082440d306e17802a08b4b4
go/types, types2: consolidate testdata/spec test files

Besides applying gofmt (which doesn't damage the tests in this case),
this removes a TODO for a set of nil-related tests.

The test files are now identical.

For #54511.

Change-Id: I0a286ad607f317f43972c1f5ee741b4f5bc9576d
Reviewed-on: https://go-review.googlesource.com/c/go/+/424675
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/testdata/spec/assignability.go
src/cmd/compile/internal/types2/testdata/spec/conversions.go
src/go/types/testdata/spec/assignability.go
src/go/types/testdata/spec/conversions.go