fix: 🎨 Fix clippy warnings

This commit is contained in:
Sergio Gasquez 2022-12-30 12:00:22 +01:00
parent eff79cf661
commit 9776c0b1be

View File

@ -132,7 +132,7 @@ mod tests {
assert!(result.is_ok());
let path = result.unwrap();
#[cfg(windows)]
let path = path.replace("/", "\\");
let path = path.replace('/', "\\");
assert_eq!(path, output_directory.join(file_name).to_str().unwrap());
assert!(output_directory.exists());