diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-16 20:47:43 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-16 21:04:52 +0200 |
commit | 4f4b5a3a65eed09fbb9578ce9df72076e0b05f66 (patch) | |
tree | 4cc7caf0fecbc9ed6c2573f69baeaad7bc2799df /testing/tests/vars.rs | |
parent | ddbed4d80771c76a382ade35440cf2a592f43151 (diff) | |
download | askama-4f4b5a3a65eed09fbb9578ce9df72076e0b05f66.tar.gz askama-4f4b5a3a65eed09fbb9578ce9df72076e0b05f66.tar.bz2 askama-4f4b5a3a65eed09fbb9578ce9df72076e0b05f66.zip |
Change one test case to use source attribute
Diffstat (limited to 'testing/tests/vars.rs')
-rw-r--r-- | testing/tests/vars.rs | 2 |
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, } |