diff --git a/src/rmap.rs b/src/rmap.rs index a80af6e81..e04713b10 100644 --- a/src/rmap.rs +++ b/src/rmap.rs @@ -394,7 +394,7 @@ mod tests { root.finish(Rc::clone(&root)); let output = format!("{:?}", root); - assert!(output.starts_with("ResourceMap")); - assert!(output.ends_with("}")); + assert!(output.starts_with("ResourceMap {")); + assert!(output.ends_with(" }")); } }