Browse Source

Make it work with non-executable scripts

pull/804/head
xpetit 3 years ago
parent
commit
af2929ad8a
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 4
      sh/tests/introduction_test.sh

4
sh/tests/introduction_test.sh

@ -5,7 +5,7 @@ set -euo pipefail
IFS='
'
submitted=$(./student/hello.sh)
expected=$(./solutions/hello.sh)
submitted=$(bash student/hello.sh)
expected=$(bash solutions/hello.sh)
diff <(echo "$submitted") <(echo "$expected") | cat -t

Loading…
Cancel
Save