We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67462f0 commit f9c0d67Copy full SHA for f9c0d67
src/utils/test_path_name.rs
@@ -28,8 +28,8 @@ fn root_dir() {
28
#[cfg(windows)]
29
#[test]
30
fn root_dir() {
31
- let actual = path_name(&PathBuf::from("C:\\"));
32
- let expected = OsStringDisplay::os_string_from("C:\\");
+ let actual = path_name(&PathBuf::from(r"C:\"));
+ let expected = OsStringDisplay::os_string_from(r"C:\");
33
assert_eq!(actual, expected);
34
}
35
0 commit comments