]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] go/types: port check_test.go ergonomics from dev.typeparams
authorRob Findley <rfindley@google.com>
Thu, 4 Feb 2021 16:06:15 +0000 (11:06 -0500)
committerRobert Findley <rfindley@google.com>
Thu, 4 Feb 2021 17:13:55 +0000 (17:13 +0000)
commitbc451b5770dc99b6a74934c26fd11a8cdc172bb1
treea8d2b08902e1b662df817a7b6c035691caf1292e
parentafd67f333466fc67cd37433e45ecdb190efc8f51
[dev.regabi] go/types: port check_test.go ergonomics from dev.typeparams

On the dev.typeparams and dev.go2go branches, check_test.go has been
updated to automatically discover test data. This is convenient, so port
it to dev.regabi.

Change-Id: I5da9a9a5139c35a2693e64364eb9928ece1cd7c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/289713
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/check_test.go
src/go/types/testdata/decls2/decls2a.src [moved from src/go/types/testdata/decls2a.src with 100% similarity]
src/go/types/testdata/decls2/decls2b.src [moved from src/go/types/testdata/decls2b.src with 100% similarity]
src/go/types/testdata/importdecl0/importdecl0a.src [moved from src/go/types/testdata/importdecl0a.src with 100% similarity]
src/go/types/testdata/importdecl0/importdecl0b.src [moved from src/go/types/testdata/importdecl0b.src with 100% similarity]
src/go/types/testdata/importdecl1/importdecl1a.src [moved from src/go/types/testdata/importdecl1a.src with 100% similarity]
src/go/types/testdata/importdecl1/importdecl1b.src [moved from src/go/types/testdata/importdecl1b.src with 100% similarity]
src/go/types/testdata/issue25008/issue25008a.src [moved from src/go/types/testdata/issue25008a.src with 100% similarity]
src/go/types/testdata/issue25008/issue25008b.src [moved from src/go/types/testdata/issue25008b.src with 100% similarity]