go/cmd/stringer
Peter Weinberger 88e80df821 cmd/stringer: add a few tests using instantiated generic types
The added tests are in a subdirectory of testdir that is looked
at only if typeparams.Enabled is true, but some test helper routines
needed to be modified to cope with files in a subdirectory.

Change-Id: I82c22a8ba74a1e4a1a2c8669c2271449d5fcaf3a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/355313
Run-TryBot: Peter Weinberger <pjw@google.com>
Trust: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-10-14 12:38:31 +00:00
..
testdata cmd/stringer: add a few tests using instantiated generic types 2021-10-14 12:38:31 +00:00
endtoend_test.go cmd/stringer: add a few tests using instantiated generic types 2021-10-14 12:38:31 +00:00
golden_test.go cmd/stringer: remove redundant check in generated code 2020-01-14 01:55:19 +00:00
stringer.go cmd/fiximports,cmd/present,cmd/stringer: update links to pkg.go.dev 2020-10-30 16:06:39 +00:00
util_test.go cmd/stringer: compile error when constants change 2019-03-18 00:52:22 +00:00