aboutsummaryrefslogtreecommitdiffstats
path: root/askama_test/tests
diff options
context:
space:
mode:
Diffstat (limited to 'askama_test/tests')
-rw-r--r--askama_test/tests/simple.html1
-rw-r--r--askama_test/tests/simple.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/askama_test/tests/simple.html b/askama_test/tests/simple.html
new file mode 100644
index 0000000..e544306
--- /dev/null
+++ b/askama_test/tests/simple.html
@@ -0,0 +1 @@
+hello world, {{ var }}
diff --git a/askama_test/tests/simple.rs b/askama_test/tests/simple.rs
index f7beb80..67bb126 100644
--- a/askama_test/tests/simple.rs
+++ b/askama_test/tests/simple.rs
@@ -7,6 +7,7 @@ extern crate askama;
use askama::Template;
#[derive(Template)]
+#[template(path = "simple.html")]
struct TestTemplate {
var: String,
}