From 514cb71a6a3e116c229c5dc874369f8632530dc7 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 27 Apr 2021 11:23:17 +0200 Subject: Squashed 'deps/inja/' content from commit 811e173 git-subtree-dir: deps/inja git-subtree-split: 811e1730e13bca4ea1805a42d5f0a4b5c91046e1 --- test/data/nested/data.json | 4 ++++ test/data/nested/result.txt | 12 ++++++++++++ test/data/nested/template.txt | 3 +++ 3 files changed, 19 insertions(+) create mode 100755 test/data/nested/data.json create mode 100755 test/data/nested/result.txt create mode 100755 test/data/nested/template.txt (limited to 'test/data/nested') diff --git a/test/data/nested/data.json b/test/data/nested/data.json new file mode 100755 index 0000000..f7e4949 --- /dev/null +++ b/test/data/nested/data.json @@ -0,0 +1,4 @@ +{ + "xarray": [0, 1], + "yarray": [0, 1, 2] +} \ No newline at end of file diff --git a/test/data/nested/result.txt b/test/data/nested/result.txt new file mode 100755 index 0000000..d3bee34 --- /dev/null +++ b/test/data/nested/result.txt @@ -0,0 +1,12 @@ + +0-0 + +0-1 + +0-2 + +1-0 + +1-1 + +1-2 diff --git a/test/data/nested/template.txt b/test/data/nested/template.txt new file mode 100755 index 0000000..254dce2 --- /dev/null +++ b/test/data/nested/template.txt @@ -0,0 +1,3 @@ +{% for x in xarray %}{% for y in yarray %} +{{x}}-{{y}} +{% endfor %}{% endfor %} \ No newline at end of file -- cgit v1.2.3