mo/tests/variable

10 lines
142 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
cd "${0%/*}" || exit 1
. ../run-tests
foo=bar
template="{{#foo}}{{.}} is {{foo}}{{/foo}}"
expected="bar is bar"
runTest