]> Cypherpunks repositories - gostls13.git/commit
go/types: remove need to enumerate fixedbugs test files
authorRob Findley <rfindley@google.com>
Tue, 11 Aug 2020 17:21:14 +0000 (13:21 -0400)
committerRobert Findley <rfindley@google.com>
Thu, 27 Aug 2020 18:34:42 +0000 (18:34 +0000)
commit234e37bcda2b5efdd685ad11d1bb3d336415648e
treeaeb4960ea29e880c24b6eaf157c2624e5c867c1f
parentac2a1f8796101459a1700d02093745ffe1c821f4
go/types: remove need to enumerate fixedbugs test files

This is a port of CL 244628, updated to move some existing regression
tests into the fixedbugs directory, and to use subtests. Also,
'TestFixed' is renamed to 'TestFixedBugs'.

Change-Id: I43aac3f75f2bd850567d08e8b008d91aeb717064
Reviewed-on: https://go-review.googlesource.com/c/go/+/247904
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/check_test.go
src/go/types/fixedbugs/issue23203a.src [moved from src/go/types/testdata/issue23203a.src with 100% similarity]
src/go/types/fixedbugs/issue23203b.src [moved from src/go/types/testdata/issue23203b.src with 100% similarity]
src/go/types/fixedbugs/issue26390.src [moved from src/go/types/testdata/issue26390.src with 83% similarity]
src/go/types/fixedbugs/issue28251.src [moved from src/go/types/testdata/issue28251.src with 100% similarity]
src/go/types/fixedbugs/issue6977.src [moved from src/go/types/testdata/issue6977.src with 100% similarity]