mirror of
https://github.com/tests-always-included/mo.git
synced 2025-11-19 23:34:32 +01:00
Pass shellcheck, more specs are handled, preserve function whitespace
This closes #49.
This commit is contained in:
@@ -2,13 +2,9 @@
|
||||
cd "${0%/*}" || exit 1
|
||||
. ../run-tests
|
||||
|
||||
arguments=(--source=invalid)
|
||||
returnCode=1
|
||||
template="Do not display this"
|
||||
expected() {
|
||||
cat <<EOF
|
||||
No such file: invalid
|
||||
EOF
|
||||
}
|
||||
export arguments=(--source=invalid)
|
||||
export returnCode=1
|
||||
export template="Do not display this"
|
||||
export expected=$'No such file: invalid\n'
|
||||
|
||||
runTest
|
||||
|
||||
Reference in New Issue
Block a user