go/cmd/stringer/testdata
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
..
typeparams cmd/stringer: add a few tests using instantiated generic types 2021-10-14 12:38:31 +00:00
cgo.go tools/cmd/stringer: fake import C. 2014-11-27 15:36:14 +11:00
conv.go cmd/stringer: accept simple type conversion expressions in constant ValueSpec 2018-11-01 07:19:27 +00:00
day.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
gap.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
num.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
number.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
prime.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
tag_main.go cmd/stringer: add a -tags flag that supports build tags 2018-07-10 05:22:40 +00:00
tag_tag.go cmd/stringer: add a -tags flag that supports build tags 2018-07-10 05:22:40 +00:00
unum.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
unum2.go cmd/stringer: fix panic caused by integer overflow 2015-06-02 19:44:20 +00:00
vary_day.go cmd/stringer: compile error when constants change 2019-03-18 00:52:22 +00:00