splitted tests, more unit tests

This commit is contained in:
pantor
2017-08-14 11:30:26 +02:00
parent 466a378a08
commit c41da0b8b0
16 changed files with 385 additions and 273 deletions
-11
View File
@@ -1,11 +0,0 @@
^{% for x in x_array %}
{% for y in y_array %}
{{x}}-{{y}}
{% endfor %}
{% endfor %}
json a;
a["type"] = loop|condition|include
a["command"] = x in x_array
a["innerString"] = "..."
a["children"] = []
+4
View File
@@ -0,0 +1,4 @@
{
"xarray": [0, 1],
"yarray": [0, 1, 2]
}
+12
View File
@@ -0,0 +1,12 @@
0-0
0-1
0-2
1-0
1-1
1-2
+3
View File
@@ -0,0 +1,3 @@
(% for x in xarray %)(% for y in yarray %)
{{x}}-{{y}}
(% endfor %)(% endfor %)
+3
View File
@@ -0,0 +1,3 @@
{
"name": "Jeff"
}
+1
View File
@@ -0,0 +1 @@
Hello Jeff.
+1
View File
@@ -0,0 +1 @@
Hello {{ name }}.