mo/tests/inverted
2023-04-10 08:10:14 -05:00

19 lines
220 B
Bash
Executable File

#!/usr/bin/env bash
cd "${0%/*}" || exit 1
. ../run-tests
export repo=()
template() {
cat <<EOF
{{#repo}}
<b>{{.}}</b>
{{/repo}}
{{^repo}}
No repos :(
{{/repo}}
EOF
}
export expected=$' No repos :(\n'
runTest