diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/templates/simple.html | 1 | ||||
-rw-r--r-- | testing/tests/simple.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/testing/templates/simple.html b/testing/templates/simple.html index 51e225b..cc839dc 100644 --- a/testing/templates/simple.html +++ b/testing/templates/simple.html @@ -1,3 +1,4 @@ +{# our very first test! #} hello world, {{ strvar }} with number: {{ num }} Iñtërnâtiônàlizætiøn is important 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"); |