diff options
Diffstat (limited to 'test/data/nested-whitespace')
-rwxr-xr-x | test/data/nested-whitespace/data.json | 4 | ||||
-rwxr-xr-x | test/data/nested-whitespace/result.txt | 6 | ||||
-rwxr-xr-x | test/data/nested-whitespace/template.txt | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/test/data/nested-whitespace/data.json b/test/data/nested-whitespace/data.json new file mode 100755 index 0000000..f7e4949 --- /dev/null +++ b/test/data/nested-whitespace/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-whitespace/result.txt b/test/data/nested-whitespace/result.txt new file mode 100755 index 0000000..109ebdb --- /dev/null +++ b/test/data/nested-whitespace/result.txt @@ -0,0 +1,6 @@ +0-0 +0-1 +0-2 +1-0 +1-1 +1-2 diff --git a/test/data/nested-whitespace/template.txt b/test/data/nested-whitespace/template.txt new file mode 100755 index 0000000..254dce2 --- /dev/null +++ b/test/data/nested-whitespace/template.txt @@ -0,0 +1,3 @@ +{% for x in xarray %}{% for y in yarray %} +{{x}}-{{y}} +{% endfor %}{% endfor %}
\ No newline at end of file |