test: Remove debugging echo from go vet test

I accidentally left it in which totally defeats the point of tests!
This commit is contained in:
James Shubin
2017-06-03 01:34:02 -04:00
parent 4f420dde05
commit 6e4157da35

View File

@@ -42,9 +42,9 @@ for dir in `find . -maxdepth 5 -type d -not -path './old/*' -not -path './old' -
#echo "matching: $match" #echo "matching: $match"
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.8') ]]; then if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.8') ]]; then
# workaround go vet issues by adding the new -source flag (go1.9+) # workaround go vet issues by adding the new -source flag (go1.9+)
echo run-test go vet -source "$match" || fail_test "go vet -source did not pass pkg" run-test go vet -source "$match" || fail_test "go vet -source did not pass pkg"
else else
echo run-test go vet "$match" || fail_test "go vet did not pass pkg" # since it doesn't output an ok message on pass run-test go vet "$match" || fail_test "go vet did not pass pkg" # since it doesn't output an ok message on pass
fi fi
done done