Added a test case for walking up the context

This commit is contained in:
Tom Alexander 2020-05-03 15:47:21 -04:00
parent e957caf386
commit 9adb88d132
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"company": "The Pendulum",
"globals": {
"email": "email hidden"
},
"people": [
{"name": "Alice", "job": "Chief Swinger"},
{"name": "Bob", "job": "Chief Swayer"},
{"name": "Chris", "job": "Barista", "company": "GenericCoffee"}
]
}

View File

@ -0,0 +1,4 @@
Directory for {company}:{~n}
{#people}
{name}: {job} at {company} (email: {globals.email}){~n}
{/people}