From ee9db1dbf441b0fd17058b56d39a27abf9d3e517 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 7 Sep 2017 20:42:54 +0200 Subject: Make ext attribute mandatory for source-specified templates --- testing/tests/vars.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests/vars.rs') diff --git a/testing/tests/vars.rs b/testing/tests/vars.rs index db99a61..39a1415 100644 --- a/testing/tests/vars.rs +++ b/testing/tests/vars.rs @@ -4,7 +4,7 @@ extern crate askama; use askama::Template; #[derive(Template)] -#[template(source = "{% let v = s %}{{ v }}")] +#[template(source = "{% let v = s %}{{ v }}", ext = "txt")] struct LetTemplate<'a> { s: &'a str, } -- cgit