aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/let-decl.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/templates/let-decl.html')
-rw-r--r--testing/templates/let-decl.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/templates/let-decl.html b/testing/templates/let-decl.html
new file mode 100644
index 0000000..d348903
--- /dev/null
+++ b/testing/templates/let-decl.html
@@ -0,0 +1,7 @@
+{% let val -%}
+{% if cond -%}
+ {% let val = "foo" -%}
+{% else -%}
+ {% let val = s -%}
+{% endif -%}
+{{ val }}