From 0339d0caa8161a161b61af5c58b9b9749174ec3a Mon Sep 17 00:00:00 2001 From: James Shubin Date: Mon, 22 Feb 2016 19:43:55 -0500 Subject: [PATCH] Improve go vet testing --- test/test-govet.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-govet.sh b/test/test-govet.sh index 638a6b26..f587934d 100755 --- a/test/test-govet.sh +++ b/test/test-govet.sh @@ -5,3 +5,4 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" # dir! cd "${ROOT}" go vet && echo PASS || exit 1 # since it doesn't output an ok message on pass +grep 'log.' *.go | grep '\\n' && exit 1 || echo PASS # no \n needed in log.Printf()