diff options
author | Robert Findley <rfindley@google.com> | 2023-01-18 13:08:49 -0500 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-01-20 21:15:52 +0000 |
commit | 59964663e58d60719c707d9d59d7424d6f2ea7e0 (patch) | |
tree | b6c9ca0f7f8310ee7b97bf54374800fb5316477f /api | |
parent | e587a7691b8603a89f55a57f78dae5e20fdbf5d1 (diff) | |
download | go-git-59964663e58d60719c707d9d59d7424d6f2ea7e0.tar.gz |
go/types: add a test that generated files match types2
Adjust the go/types file generation to run in a test, so that we can
easily reuse the existing logic to verify that the current content of
go/types matches the expected result of generating from types2.
This test will enforce that we don't forget to regenerate go/types when
making changes to types2.
Change-Id: Iee14b1402065f7f0ecbcf28000e07a06c08fa42e
Reviewed-on: https://go-review.googlesource.com/c/go/+/462758
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions