diff options
author | Rob Pike <r@golang.org> | 2013-02-11 13:33:11 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2013-02-11 13:33:11 -0800 |
commit | 6d4af3d1b5cd81a4c864298e0bf85b9840fdb689 (patch) | |
tree | cb535fbf93fc0cbd8bb9850c60db0f88ba472859 /test/switch.go | |
parent | 5389728c04c6af8bb0f504b1edb0b04846acc8c4 (diff) | |
download | go-6d4af3d1b5cd81a4c864298e0bf85b9840fdb689.tar.gz |
vet: improve flag handling
Simplify the internal logic for flags controlling what to vet,
by introducing a map of flags that gathers them all together.
This change should simplify the process of adding further flags.
Add a test for untagged struct literals.
Delete a redundant test that was also in the wrong file.
Clean up some ERROR patterns that weren't working.
"make test" passes again.
R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7305075
Diffstat (limited to 'test/switch.go')
0 files changed, 0 insertions, 0 deletions