Skip to content

Commit

Permalink
Merge pull request #127 from MysteriumNetwork/refactor/show-tests-fai…
Browse files Browse the repository at this point in the history
…lure

Show tests success or failure message
  • Loading branch information
donce committed Jan 31, 2018
2 parents 2032775 + 4e8a4d4 commit e6bc254
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/test
Expand Up @@ -14,4 +14,8 @@ if [ -z "$ARGUMENTS" ]; then
ARGUMENTS=`go list ./...`
fi

go test -cover ${ARGUMENTS}
if go test -cover ${ARGUMENTS} ; then
echo "All tests passed."
else
echo "Some tests failed!"
fi

0 comments on commit e6bc254

Please sign in to comment.