aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/vars.rs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/vars.rs')
-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,
}