From 4f4b5a3a65eed09fbb9578ce9df72076e0b05f66 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 16 Aug 2017 20:47:43 +0200 Subject: Change one test case to use source attribute --- testing/tests/vars.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') 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, } -- cgit