aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/templates/literals.html2
-rw-r--r--testing/tests/simple.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/testing/templates/literals.html b/testing/templates/literals.html
index b8d8fbe..9d973bb 100644
--- a/testing/templates/literals.html
+++ b/testing/templates/literals.html
@@ -1 +1,3 @@
{{ "a" }}
+{{ true }}
+{{ false }}
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs
index e4239ce..519b87c 100644
--- a/testing/tests/simple.rs
+++ b/testing/tests/simple.rs
@@ -114,7 +114,7 @@ struct LiteralsTemplate {}
#[test]
fn test_literals() {
let s = LiteralsTemplate {};
- assert_eq!(s.render().unwrap(), "a");
+ assert_eq!(s.render().unwrap(), "a\ntrue\nfalse");
}
struct Holder {