Pass shellcheck, more specs are handled, preserve function whitespace

This closes #49.
This commit is contained in:
Tyler Akins
2023-04-10 08:10:14 -05:00
parent e0e9189355
commit 7604ce3054
46 changed files with 308 additions and 273 deletions

View File

@@ -2,8 +2,9 @@
cd "${0%/*}" || exit 1
. ../run-tests
returnCode=1
person=""
export returnCode=1
export arguments=(--fail-on-file)
export person=""
template() {
cat <<EOF
Won't be there: {{> fixtures/partial-missing.partial}}
@@ -11,7 +12,7 @@ EOF
}
expected() {
cat <<EOF
cat: partial-missing.partial: No such file or directory
ERROR: No such file: partial-missing.partial
EOF
}