19 lines
220 B
Plaintext
19 lines
220 B
Plaintext
|
#!/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
|