fix: typo in tests

This commit is contained in:
alan910127 2024-11-02 03:49:53 +08:00
parent 2840d5ba2b
commit 7d8b798a78

View file

@ -150,7 +150,7 @@ mod tests {
let path = PathBuf::from("C:\\Users\\JohnDoe\\Downloads\\image.png");
assert_eq!(
path_to_os_str(&path, PathSeparator::Unix).to_str(),
Some("C:/Users/JohnDow/Downloads/image.png"),
Some("C:/Users/JohnDoe/Downloads/image.png"),
"windows-unix",
);
}