aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/tests/test-dispatch-tree
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/tests/test-dispatch-tree')
-rw-r--r--mingling_core/tests/test-dispatch-tree/tests/integration.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/tests/test-dispatch-tree/tests/integration.rs b/mingling_core/tests/test-dispatch-tree/tests/integration.rs
index 7cd7b8c..e51992c 100644
--- a/mingling_core/tests/test-dispatch-tree/tests/integration.rs
+++ b/mingling_core/tests/test-dispatch-tree/tests/integration.rs
@@ -60,7 +60,7 @@ fn test_render_result_default() {
fn test_render_result_print() {
let mut r = RenderResult::default();
r.print("hello");
- assert_eq!(&*r, "hello");
+ assert_eq!(r.to_string().as_str(), "hello");
}
#[test]