aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/operators.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/tests/operators.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/operators.rs b/testing/tests/operators.rs
index 73b30b1..c58f650 100644
--- a/testing/tests/operators.rs
+++ b/testing/tests/operators.rs
@@ -14,7 +14,7 @@ struct CompareTemplate {
#[test]
fn test_compare() {
let t = CompareTemplate { a: 1, b: 1, c: 2 };
- assert_eq!(t.render(), "tf\ntf\ntf\ntf\ntf\ntf");
+ assert_eq!(t.render().unwrap(), "tf\ntf\ntf\ntf\ntf\ntf");
}
@@ -29,5 +29,5 @@ struct OperatorsTemplate {
#[test]
fn test_operators() {
let t = OperatorsTemplate { a: 1, b: 1, c: 2 };
- assert_eq!(t.render(), "muldivmodaddrshlshbandbxorborandor");
+ assert_eq!(t.render().unwrap(), "muldivmodaddrshlshbandbxorborandor");
}