aboutsummaryrefslogtreecommitdiff
path: root/test/data/nested-line
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-27 11:23:17 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-04-27 11:23:17 +0200
commit514cb71a6a3e116c229c5dc874369f8632530dc7 (patch)
treedbc61581e04809fca19fefb3f4954b76e1e3e2c8 /test/data/nested-line
Squashed 'deps/inja/' content from commit 811e173
git-subtree-dir: deps/inja git-subtree-split: 811e1730e13bca4ea1805a42d5f0a4b5c91046e1
Diffstat (limited to 'test/data/nested-line')
-rwxr-xr-xtest/data/nested-line/data.json4
-rwxr-xr-xtest/data/nested-line/result.txt6
-rwxr-xr-xtest/data/nested-line/template.txt5
3 files changed, 15 insertions, 0 deletions
diff --git a/test/data/nested-line/data.json b/test/data/nested-line/data.json
new file mode 100755
index 0000000..f7e4949
--- /dev/null
+++ b/test/data/nested-line/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-line/result.txt b/test/data/nested-line/result.txt
new file mode 100755
index 0000000..109ebdb
--- /dev/null
+++ b/test/data/nested-line/result.txt
@@ -0,0 +1,6 @@
+0-0
+0-1
+0-2
+1-0
+1-1
+1-2
diff --git a/test/data/nested-line/template.txt b/test/data/nested-line/template.txt
new file mode 100755
index 0000000..2ad7503
--- /dev/null
+++ b/test/data/nested-line/template.txt
@@ -0,0 +1,5 @@
+## for x in xarray
+## for y in yarray
+{{x}}-{{y}}
+## endfor
+## endfor