From 53829466393a4f8924d564d8896146831a23070c Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Wed, 27 Jan 2016 10:25:21 +0000 Subject: [PATCH] error on fail --- urchin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/urchin b/urchin index 39049e2..e168892 100755 --- a/urchin +++ b/urchin @@ -213,7 +213,6 @@ urchin_go() { finish=$(date +%s) elapsed=$(($finish - $start)) - if $tap_format; then echo "# Took $elapsed $(plural second $elapsed)." else @@ -228,7 +227,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() {