From eff79cf661099b83d49c54b4d7757718ef407f08 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Fri, 30 Dec 2022 11:54:50 +0100 Subject: [PATCH] =?UTF-8?q?test:=20=E2=9C=85=20Fix=20windows=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/toolchain/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/toolchain/mod.rs b/src/toolchain/mod.rs index 5de8930..c59b073 100644 --- a/src/toolchain/mod.rs +++ b/src/toolchain/mod.rs @@ -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());