aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-19 14:39:27 +0100
committerDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-19 14:39:27 +0100
commit3353eb18a8ff2480c089ab083c474bf2a2a62b96 (patch)
treea6501f9fcdbc6b99a9869bba2dece5d1e7745cde /tests
parentdd1a5a34eaba875746d48f47056ee2748cc452ee (diff)
downloadunja-3353eb18a8ff2480c089ab083c474bf2a2a62b96.tar.gz
unja-3353eb18a8ff2480c089ab083c474bf2a2a62b96.zip
wip
Diffstat (limited to 'tests')
-rw-r--r--tests/test_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_template.c b/tests/test_template.c
index 9e23ca2..cb23dbf 100644
--- a/tests/test_template.c
+++ b/tests/test_template.c
@@ -67,6 +67,7 @@ TEST(expr_add) {
{"{{ 5 + foo }}.", "15."},
{"{{ \"foo\" + \"bar\" }}", "foobar"},
{"{{ \"Hello \" + name }}", "Hello Danny"},
+ {"{{ 5 + 5 + 5 }}.", "15."},
{"{{5+5}}", "10"},
{"{{ 5+5}}", "10"},
{"{{ 5 +5}}", "10"},