aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-16 20:47:43 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-16 21:04:52 +0200
commit4f4b5a3a65eed09fbb9578ce9df72076e0b05f66 (patch)
tree4cc7caf0fecbc9ed6c2573f69baeaad7bc2799df /testing
parentddbed4d80771c76a382ade35440cf2a592f43151 (diff)
downloadaskama-4f4b5a3a65eed09fbb9578ce9df72076e0b05f66.tar.gz
askama-4f4b5a3a65eed09fbb9578ce9df72076e0b05f66.tar.bz2
askama-4f4b5a3a65eed09fbb9578ce9df72076e0b05f66.zip
Change one test case to use source attribute
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 ab40665..db99a61 100644
--- a/testing/tests/vars.rs
+++ b/testing/tests/vars.rs
@@ -4,7 +4,7 @@ extern crate askama;
use askama::Template;
#[derive(Template)]
-#[template(path = "let.html")]
+#[template(source = "{% let v = s %}{{ v }}")]
struct LetTemplate<'a> {
s: &'a str,
}