diff --git a/sh/tests/to-git-or-not-to-git_test.sh b/sh/tests/to-git-or-not-to-git_test.sh index 7f546b1b..1140a11b 100755 --- a/sh/tests/to-git-or-not-to-git_test.sh +++ b/sh/tests/to-git-or-not-to-git_test.sh @@ -13,6 +13,7 @@ if [ -f ${FILENAME} ]; then diff <(echo "$submitted") <(echo "$expected") else echo "File exist but empty" + exit 1 fi else echo "File does not exist"