fix: fixed windows only test issue

This commit is contained in:
Patrik Kaprinay 2024-01-14 11:46:22 +01:00
parent 3526f9dec5
commit c7ba0048e0

View file

@ -168,7 +168,7 @@ path = "{}.rs""#,
.output()
}
}
.expect("Failed to run 'compile' command.");
.expect("Failed to run 'compile' command.");
if cmd.status.success() {
Ok(CompiledExercise {
@ -308,6 +308,7 @@ mod test {
path: PathBuf::from("tests/fixture/state/pending_exercise.rs"),
mode: *mode,
hint: String::from(""),
next_path: None,
};
let _ = exercise.compile().unwrap();
assert!(!Path::new(&format!("{}.pdb", temp_file())).exists());