Explorar o código

test: display failure output for gosimple

Anthony Romano %!s(int64=9) %!d(string=hai) anos
pai
achega
46dfa682e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test

+ 1 - 1
test

@@ -115,7 +115,7 @@ function fmt_tests {
 	if which gosimple >/dev/null; then
 		echo "gosimple is installed..."
 		for path in $GOSIMPLE_UNUSED_PATHS; do
-			simplResult=$(gosimple $REPO_PATH/${path})
+			simplResult=`gosimple $REPO_PATH/${path} || true`
 			if [ -n "${simplResult}" ]; then
 				echo -e "gosimple checking ${path} failed:\n${simplResult}"
 				exit 255