Add a test for the sep helper.

This commit is contained in:
Tom Alexander 2020-06-07 14:01:58 -04:00
parent d06fbea288
commit bb658284e6
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{
"people": [
{
"name": "Alice",
"pet": "cat"
},
{
"name": "Bob",
"pet": "dog"
},
{
"name": "Chris",
"pet": "lizard"
}
]
}

View File

@ -0,0 +1,3 @@
{#people}
{name}{@sep petname="fluffy"},{pet}{petname}{/sep}
{/people}