test: display failure output for gosimple

release-3.0
Anthony Romano 2016-04-19 22:58:37 -07:00
parent bf9cccfc34
commit 46dfa682e7
1 changed files with 1 additions and 1 deletions

2
test
View File

@ -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