error on fail

This commit is contained in:
Thomas Levine 2016-01-27 10:25:21 +00:00
parent a51d96631f
commit 508e695dc3

3
urchin
View File

@ -201,7 +201,6 @@ urchin_go() {
finish=$(date +%s)
elapsed=$(($finish - $start))
if $tap_format; then
echo "# Took $elapsed $(plural second $elapsed)."
else
@ -216,7 +215,7 @@ urchin_go() {
printf '%s\n' "$failed $(plural test "$failed") failed."
printf '\033[m'
fi
test -z "$2" || test "$2" -eq '0'
test -z "$failed" || test "$failed" -eq '0'
}
urchin_molly_guard() {