test: run go vet

This commit is contained in:
Alex Crawford 2014-10-23 11:46:40 -07:00
parent 8be307de49
commit c9e8c887b8

7
test
View File

@ -54,4 +54,11 @@ if [ -n "$fmtRes" ]; then
exit 1 exit 1
fi fi
echo "Checking govet..."
vetRes=$(go vet $TESTPKGS)
if [ -n "${vetRes}" ]; then
echo -e "govet checking failed:\n${vetRes}"
exit 255
fi
echo "Success" echo "Success"