]> Cypherpunks repositories - gostls13.git/commit
cmd/link: use standard-syntax struct tags in large-tag test
authorRuss Cox <rsc@golang.org>
Wed, 8 May 2019 22:55:33 +0000 (18:55 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 May 2019 18:03:17 +0000 (18:03 +0000)
commit0a2f72b8891d7203850cd7d2f52251edeb4dd747
tree3cac1e72a6c1eb35e1299e18ca72d4c6779e01f1
parentc514071988ac08249c8675dfa501ad242c4c0cec
cmd/link: use standard-syntax struct tags in large-tag test

These ridiculous tags are testing what happens with very long tags.
There is no need for them to be malformed as well.
Fix them to make vet happier.

Working toward making the tree vet-safe instead of having
so many exceptions in cmd/vet/all/whitelist.

For #31916.

Change-Id: I100aed5230fcde41676c79c7074c69c16ea4b96d
Reviewed-on: https://go-review.googlesource.com/c/go/+/176111
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/link_test.go
src/cmd/vet/all/whitelist/all.txt