test: Fix windows tests

This commit is contained in:
Sergio Gasquez 2022-12-30 11:54:50 +01:00
parent 79d1c469cd
commit eff79cf661

View File

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