mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
fix: fixed windows only test issue
This commit is contained in:
parent
3526f9dec5
commit
c7ba0048e0
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue