add more tests

This commit is contained in:
danhanson committed 2026-08-11 17:41:09 -05:00
1 parent 9b44006c18
commit 7a32f9c8d3
14 files changed
+7023 -6345

No files matched your search

+83
View File
@@ -0,0 +1,83 @@
==================
Verbatim Basic
==================
{% verbatim %}{{ hello }}{% endverbatim %}
---
(template
(content)
(verbatim_group
name: (push_verbatim)
(verbatim_content)
(pop_verbatim))
(content))
==================
Verbatim Empty
==================
{% verbatim %}{% endverbatim %}
---
(template
(content)
(verbatim_group
name: (push_verbatim)
(pop_verbatim))
(content))
==================
Verbatim Ignores Tags
==================
{% verbatim %}
{{ hello }}
{% for x in y %}
{% endverbatim %}
---
(template
(content)
(verbatim_group
name: (push_verbatim)
(verbatim_content)
(pop_verbatim))
(content))
==================
Verbatim With Name
==================
{% verbatim myblock %}{{ hello }}{% endverbatim myblock %}
---
(template
(content)
(verbatim_group
name: (push_verbatim)
(verbatim_content)
(pop_verbatim))
(content))
==================
Verbatim With Name Allows Nested Unnamed Verbatim
==================
{% verbatim myblock %}
Avoid template rendering via the {% verbatim %}{% endverbatim %} block.
{% endverbatim myblock %}
---
(template
(content)
(verbatim_group
name: (push_verbatim)
(verbatim_content)
(pop_verbatim))
(content))