Improve go vet testing
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user