aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-08-17 18:09:55 -0700
committerRobert Griesemer <gri@google.com>2022-08-18 21:54:10 +0000
commit9ad772033f04ea9b3082440d306e17802a08b4b4 (patch)
tree819869eed3a0a48d127c28790e32e3c280eb1df3 /src/runtime
parent9485d4c1bd871be792d03c29b7902f6ac284ed27 (diff)
downloadgo-9ad772033f04ea9b3082440d306e17802a08b4b4.tar.xz
go/types, types2: consolidate testdata/examples test files
Besides applying gofmt (which doesn't damage the tests in this case), the ERROR comments in the types2 files now match the go/types files. But because types2 still reports some errors are different positions, the checking code now allows for some position discrepancy (similar to what we do for other tests). Except for an outstanding TODO in go/types/testdata/examples/types.go the test files are now identical. For #54511. Change-Id: I5748e0f678d11c5c0bdf4fdf28bd04f0b11b5b23 Reviewed-on: https://go-review.googlesource.com/c/go/+/424674 Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Griesemer <gri@google.com> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions