aboutsummaryrefslogtreecommitdiffstats
path: root/askama_test/tests/simple.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2016-12-24 08:28:56 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2016-12-24 08:28:56 +0100
commitb83ad3582fef454983fd491e02e3d243a1d0a52d (patch)
treede6fe3eb3d89a7cb72f6800ad4e5aee29b337a42 /askama_test/tests/simple.rs
parentdf8b05d0a4243b0d0021871e5cab4269d89b1e0c (diff)
downloadaskama-b83ad3582fef454983fd491e02e3d243a1d0a52d.tar.gz
askama-b83ad3582fef454983fd491e02e3d243a1d0a52d.tar.bz2
askama-b83ad3582fef454983fd491e02e3d243a1d0a52d.zip
Implement very basic template parser
Diffstat (limited to '')
-rw-r--r--askama_test/tests/simple.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_test/tests/simple.rs b/askama_test/tests/simple.rs
index 67bb126..9dbfc9c 100644
--- a/askama_test/tests/simple.rs
+++ b/askama_test/tests/simple.rs
@@ -15,5 +15,5 @@ struct TestTemplate {
#[test]
fn it_works() {
let s = TestTemplate { var: "foo".to_string() }.render();
- assert_eq!(s, "hello world, foo");
+ assert_eq!(s, "hello world, foo\n");
}