Browse Source

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

pull/1044/head
Christopher Fremond 3 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 if [ -s ${FILENAME} ]; then
submitted=$(bash student/to-git-or-not-to-git.sh) submitted=$(bash student/to-git-or-not-to-git.sh)
expected=$(bash solutions/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") diff <(echo "$submitted") <(echo "$expected")
else else
echo "The file exist but empty" echo "The file exist but empty"

Loading…
Cancel
Save