error on fail
This commit is contained in:
parent
a51d96631f
commit
508e695dc3
3
urchin
3
urchin
@ -201,7 +201,6 @@ urchin_go() {
|
|||||||
finish=$(date +%s)
|
finish=$(date +%s)
|
||||||
elapsed=$(($finish - $start))
|
elapsed=$(($finish - $start))
|
||||||
|
|
||||||
|
|
||||||
if $tap_format; then
|
if $tap_format; then
|
||||||
echo "# Took $elapsed $(plural second $elapsed)."
|
echo "# Took $elapsed $(plural second $elapsed)."
|
||||||
else
|
else
|
||||||
@ -216,7 +215,7 @@ urchin_go() {
|
|||||||
printf '%s\n' "$failed $(plural test "$failed") failed."
|
printf '%s\n' "$failed $(plural test "$failed") failed."
|
||||||
printf '\033[m'
|
printf '\033[m'
|
||||||
fi
|
fi
|
||||||
test -z "$2" || test "$2" -eq '0'
|
test -z "$failed" || test "$failed" -eq '0'
|
||||||
}
|
}
|
||||||
|
|
||||||
urchin_molly_guard() {
|
urchin_molly_guard() {
|
||||||
|
Loading…
Reference in New Issue
Block a user