diff options
Diffstat (limited to '')
-rw-r--r-- | testing/templates/for-break-continue.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/templates/for-break-continue.html b/testing/templates/for-break-continue.html new file mode 100644 index 0000000..c7a948f --- /dev/null +++ b/testing/templates/for-break-continue.html @@ -0,0 +1,11 @@ +{%- for v in values -%} + x {{- v -}} + {%- if matches!(v, x if *x > 9) -%} + {%- if matches!(v, x if *x % 2 == 0) -%} + {%- break -%} + {%- else -%} + {%- continue -%} + {%- endif -%} + {%- endif -%} + y +{%- endfor -%} |