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.
This commit is contained in:
Jakob Unterwurzacher 2017-10-22 14:37:44 +02:00
parent 4954c87979
commit a1170be979
1 changed files with 2 additions and 2 deletions

View File

@ -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