Browse Source

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

update-quest-08-exercises-description-c-150
Christopher Fremond 2 years ago committed by GitHub
parent
commit
21bbb5cb40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sh/tests/to-git-or-not-to-git_test.sh

2
sh/tests/to-git-or-not-to-git_test.sh

@ -10,6 +10,8 @@ if [ -f ${FILENAME} ]; then
if [ -s ${FILENAME} ]; then
submitted=$(bash student/to-git-or-not-to-git.sh)
expected=$(bash solutions/to-git-or-not-to-git.sh)
echo $submitted
echo $expected
diff <(echo "$submitted") <(echo "$expected")
else
echo "The file exist but empty"

Loading…
Cancel
Save