From 94bb47a78d32c5a5162ce5475b8a4c310940fef2 Mon Sep 17 00:00:00 2001 From: bott Date: Fri, 21 Sep 2018 02:09:59 +0200 Subject: fix panicked on range-based for loop --- testing/templates/for-range.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testing/templates/for-range.html (limited to 'testing/templates/for-range.html') diff --git a/testing/templates/for-range.html b/testing/templates/for-range.html new file mode 100644 index 0000000..9b109bb --- /dev/null +++ b/testing/templates/for-range.html @@ -0,0 +1,15 @@ +{% for s in 0..2 -%} + foo +{% endfor -%} + +{% for s in init..1 -%} + bar +{% endfor -%} + +{% for s in 0..end -%} + foo +{% endfor -%} + +{% for s in init..end -%} + bar +{% endfor -%} -- cgit