aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-10-22 14:37:44 +0200
committerJakob Unterwurzacher2017-10-22 14:37:44 +0200
commita1170be979cb75da11e84f45f67d3f5468d97669 (patch)
tree674c4bfbfc6dc587e998c1e29c5ba30cb5df37a2 /test.bash
parent4954c87979efaf5b8184efccc7d9a38c21e4209b (diff)
test.bash: use "go vet" instead of "go tool vet"
"go vet" automatically skips the vendor directory. "go tool vet" does not, and it will complain about a lot of things in there.
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.bash b/test.bash
index 32f77dc..e2f54e8 100755
--- a/test.bash
+++ b/test.bash
@@ -31,9 +31,9 @@ if [[ $OSTYPE == linux* ]] ; then
fi
if go tool | grep vet > /dev/null ; then
- go tool vet -all -shadow .
+ go vet -all -shadow ./...
else
- echo "'go tool vet' not available - skipping"
+ echo "'go vet' not available - skipping"
fi
# We don't want all the subprocesses holding the lock file open