]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix 'go vet' of package with external tests
authorRuss Cox <rsc@golang.org>
Mon, 6 Oct 2014 18:49:22 +0000 (14:49 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 6 Oct 2014 18:49:22 +0000 (14:49 -0400)
commit7e6e502f9b9a253603c43bb783b82a043a67c3d4
tree0716e2a9cee4840df19c3f8990d56ca6c9da8366
parent9a5b055b95c6719083f32c1f8089725a0a890425
cmd/go: fix 'go vet' of package with external tests

For example, fixes 'go vet syscall', which has source
files in package syscall_test.

Fixes #8511.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews, iant
https://golang.org/cl/152220044
src/cmd/go/test.bash
src/cmd/go/testdata/src/vetpkg/a_test.go [new file with mode: 0644]
src/cmd/go/testdata/src/vetpkg/b.go [new file with mode: 0644]
src/cmd/go/vet.go