diff options
Diffstat (limited to '')
-rw-r--r-- | testing/tests/ui/name_mismatch_endmacro.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/name_mismatch_endmacro.rs b/testing/tests/ui/name_mismatch_endmacro.rs new file mode 100644 index 0000000..10ea31f --- /dev/null +++ b/testing/tests/ui/name_mismatch_endmacro.rs @@ -0,0 +1,8 @@ +use askama::Template; + +#[derive(Template)] +#[template(source = "{% macro foo(arg) %} {{arg}} {% endmacro not_foo %}", ext = "html")] +struct NameMismatchEndMacro; + +fn main() { +} |