aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/name_mismatch_endblock.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/tests/ui/name_mismatch_endblock.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/name_mismatch_endblock.rs b/testing/tests/ui/name_mismatch_endblock.rs
new file mode 100644
index 0000000..9fbfbe4
--- /dev/null
+++ b/testing/tests/ui/name_mismatch_endblock.rs
@@ -0,0 +1,8 @@
+use askama::Template;
+
+#[derive(Template)]
+#[template(source = "{% block foo %}{% endblock not_foo %}", ext = "html")]
+struct NameMismatchEndBlock;
+
+fn main() {
+}