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("}")); } }