Browse Source

Update to-git-or-not-to-git_test.sh

failing the exercise when the file exist but is empty
update-quest-08-exercises-description-c-150
Christopher Fremond 2 years ago committed by GitHub
parent
commit
0a23d10025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      sh/tests/to-git-or-not-to-git_test.sh

1
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"

Loading…
Cancel
Save