aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/vars.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-09-07 20:42:54 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-09-07 20:42:54 +0200
commitee9db1dbf441b0fd17058b56d39a27abf9d3e517 (patch)
tree4c1a5b7754a4bd85ad231e74ad0686039f7cedc6 /testing/tests/vars.rs
parent5503b945cc9ec274ae3d859330767e1088b13a52 (diff)
downloadaskama-ee9db1dbf441b0fd17058b56d39a27abf9d3e517.tar.gz
askama-ee9db1dbf441b0fd17058b56d39a27abf9d3e517.tar.bz2
askama-ee9db1dbf441b0fd17058b56d39a27abf9d3e517.zip
Make ext attribute mandatory for source-specified templates
Diffstat (limited to '')
-rw-r--r--testing/tests/vars.rs2
1 files changed, 1 insertions, 1 deletions
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,
}