diff --git a/src/configure.rs b/src/configure.rs index 99e2d2e..14e6f39 100644 --- a/src/configure.rs +++ b/src/configure.rs @@ -285,7 +285,7 @@ mod tests { assert_eq!( format!("{}", config), - format!(r#"{{"root":["{}"]}}"#, target_dir.replace("\\", "\\\\")) + format!(r#"{{"root":["{}"]}}"#, target_dir.replace('\\', "\\\\")) ); config.reset().unwrap();