diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2016-12-24 08:28:56 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2016-12-24 08:28:56 +0100 |
commit | b83ad3582fef454983fd491e02e3d243a1d0a52d (patch) | |
tree | de6fe3eb3d89a7cb72f6800ad4e5aee29b337a42 /askama_test | |
parent | df8b05d0a4243b0d0021871e5cab4269d89b1e0c (diff) | |
download | askama-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.rs | 2 |
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"); } |