diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-03-03 20:43:12 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-03-03 20:43:12 +0100 |
commit | 71f9f51d2ad74b322f556846576f3f1c5e238a87 (patch) | |
tree | 2d31303cc0cc72143fe4aeeee2f35fda8d414e2c /testing/tests/simple.rs | |
parent | 8c0f4358309b79ab58a2adfdacd5546ffe1545b1 (diff) | |
download | askama-71f9f51d2ad74b322f556846576f3f1c5e238a87.tar.gz askama-71f9f51d2ad74b322f556846576f3f1c5e238a87.tar.bz2 askama-71f9f51d2ad74b322f556846576f3f1c5e238a87.zip |
Add test for comments
Diffstat (limited to '')
-rw-r--r-- | testing/tests/simple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 2f69c84..60ecf05 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -19,7 +19,7 @@ fn test_variables() { num: 42, i18n: "Iñtërnâtiônàlizætiøn".to_string(), }; - assert_eq!(s.render(), "hello world, foo\n\ + assert_eq!(s.render(), "\nhello world, foo\n\ with number: 42\n\ Iñtërnâtiônàlizætiøn is important\n\ in vars too: Iñtërnâtiônàlizætiøn"); |