From c9e8c887b82e7a527ed7bc459a4b2957e8235339 Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Thu, 23 Oct 2014 11:46:40 -0700 Subject: [PATCH] test: run go vet --- test | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test b/test index aace4dc..e251d81 100755 --- a/test +++ b/test @@ -54,4 +54,11 @@ if [ -n "$fmtRes" ]; then exit 1 fi +echo "Checking govet..." +vetRes=$(go vet $TESTPKGS) +if [ -n "${vetRes}" ]; then + echo -e "govet checking failed:\n${vetRes}" + exit 255 +fi + echo "Success"