diff --git a/lib/src/repo_path.rs b/lib/src/repo_path.rs index 0e305b5e97..d2748260bb 100644 --- a/lib/src/repo_path.rs +++ b/lib/src/repo_path.rs @@ -938,7 +938,7 @@ mod tests { let format = |before, after| { ui.format_copied_path(repo_path(before), repo_path(after)) - .replace("\\", "/") + .replace('\\', "/") }; assert_eq!(format("one/two/three", "one/two/three"), "one/two/three");