From 6fc976984c64b36a878dcab402b2e174a7fb2601 Mon Sep 17 00:00:00 2001 From: Matt Gathu Date: Fri, 25 Sep 2020 17:10:42 +0200 Subject: [PATCH] Fix clippy warning on test --- src/rmap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(" }")); } }