diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-02-19 14:53:26 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-02-20 15:46:42 +0000 |
commit | dace6544b3ff077d8cc02fc37d59187be253ab70 (patch) | |
tree | 36ee7d9d6a3125e5b9df3585138522a251942042 /src/cmd/vet/testdata/testingpkg/tests_test.go | |
parent | 1e4a88fa0a599cb8c201996a5f7b069b85be9905 (diff) | |
download | go-dace6544b3ff077d8cc02fc37d59187be253ab70.tar.gz go-dace6544b3ff077d8cc02fc37d59187be253ab70.zip |
cmd/vet: make vet_test module-agnostic
vet_test currently uses a custom GOPATH for each test, but it turns
out not to be necessary.
Updates #30228
Change-Id: Id7a7bf6d759bd94adccf44e197be1728c2f23575
Reviewed-on: https://go-review.googlesource.com/c/163038
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/cmd/vet/testdata/testingpkg/tests_test.go')
-rw-r--r-- | src/cmd/vet/testdata/testingpkg/tests_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/vet/testdata/testingpkg/tests_test.go b/src/cmd/vet/testdata/testingpkg/tests_test.go new file mode 100644 index 0000000000..09bb98d980 --- /dev/null +++ b/src/cmd/vet/testdata/testingpkg/tests_test.go @@ -0,0 +1,3 @@ +package testdata + +func Example_BadSuffix() {} // ERROR "Example_BadSuffix has malformed example suffix: BadSuffix" |