aboutsummaryrefslogtreecommitdiff
path: root/deps/inja/test/data/nested
diff options
context:
space:
mode:
Diffstat (limited to 'deps/inja/test/data/nested')
-rwxr-xr-xdeps/inja/test/data/nested/data.json4
-rwxr-xr-xdeps/inja/test/data/nested/result.txt12
-rwxr-xr-xdeps/inja/test/data/nested/template.txt3
3 files changed, 19 insertions, 0 deletions
diff --git a/deps/inja/test/data/nested/data.json b/deps/inja/test/data/nested/data.json
new file mode 100755
index 0000000..f7e4949
--- /dev/null
+++ b/deps/inja/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/deps/inja/test/data/nested/result.txt b/deps/inja/test/data/nested/result.txt
new file mode 100755
index 0000000..d3bee34
--- /dev/null
+++ b/deps/inja/test/data/nested/result.txt
@@ -0,0 +1,12 @@
+
+0-0
+
+0-1
+
+0-2
+
+1-0
+
+1-1
+
+1-2
diff --git a/deps/inja/test/data/nested/template.txt b/deps/inja/test/data/nested/template.txt
new file mode 100755
index 0000000..254dce2
--- /dev/null
+++ b/deps/inja/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