mirror of
https://github.com/esp-rs/espup.git
synced 2025-10-02 07:10:36 +00:00
test: ✅ Fix windows tests
This commit is contained in:
parent
79d1c469cd
commit
eff79cf661
@ -131,6 +131,8 @@ mod tests {
|
|||||||
.await;
|
.await;
|
||||||
assert!(result.is_ok());
|
assert!(result.is_ok());
|
||||||
let path = result.unwrap();
|
let path = result.unwrap();
|
||||||
|
#[cfg(windows)]
|
||||||
|
let path = path.replace("/", "\\");
|
||||||
assert_eq!(path, output_directory.join(file_name).to_str().unwrap());
|
assert_eq!(path, output_directory.join(file_name).to_str().unwrap());
|
||||||
assert!(output_directory.exists());
|
assert!(output_directory.exists());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user