mirror of
https://github.com/tests-always-included/mo.git
synced 2025-11-19 23:34:32 +01:00
Splitting parse function, fixing variable bug
This commit is contained in:
9
tests/variable
Executable file
9
tests/variable
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "${0%/*}" || exit 1
|
||||
. ../run-tests
|
||||
|
||||
foo=bar
|
||||
template="{{#foo}}{{.}} is {{foo}}{{/foo}}"
|
||||
expected="bar is bar"
|
||||
|
||||
runTest
|
||||
Reference in New Issue
Block a user