mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
Fix test on Windows
This commit is contained in:
parent
ed024ceb54
commit
95eae00126
|
@ -75,7 +75,7 @@ mod path_tests {
|
|||
#[test]
|
||||
#[cfg(windows)]
|
||||
fn dirname_root() {
|
||||
assert_eq!(dirname(&PathBuf::from("C:\\")), OsString::from("C:"));
|
||||
assert_eq!(dirname(&PathBuf::from("C:")), OsString::from("C:"));
|
||||
assert_eq!(dirname(&PathBuf::from("\\")), OsString::from("\\"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue