From 86af8b6e89bf70309acea1c756207d203fa5ecba Mon Sep 17 00:00:00 2001 From: Matt Gathu Date: Fri, 25 Sep 2020 16:58:12 +0200 Subject: [PATCH] Update test --- src/rmap.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rmap.rs b/src/rmap.rs index 2da898565..a80af6e81 100644 --- a/src/rmap.rs +++ b/src/rmap.rs @@ -393,6 +393,8 @@ mod tests { let root = Rc::new(root); root.finish(Rc::clone(&root)); - println!("{:?}", root); + let output = format!("{:?}", root); + assert!(output.starts_with("ResourceMap")); + assert!(output.ends_with("}")); } }