From 77d5d28b20162c522483ed009afba2ca9a6ee390 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 25 Oct 2023 11:11:00 +0200 Subject: Add UI test for `elif` error message --- testing/tests/ui/elif.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testing/tests/ui/elif.rs (limited to 'testing/tests/ui/elif.rs') diff --git a/testing/tests/ui/elif.rs b/testing/tests/ui/elif.rs new file mode 100644 index 0000000..650f292 --- /dev/null +++ b/testing/tests/ui/elif.rs @@ -0,0 +1,8 @@ +use askama::Template; + +#[derive(Template)] +#[template(source = "{% if true %}{% elif false %}{% endif %}", ext = "html")] +struct UnknownElif; + +fn main() { +} -- cgit