We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c587c38 commit 4d60140Copy full SHA for 4d60140
src/suffix.rs
@@ -363,6 +363,11 @@ mod test {
363
let paths = suffix_scheme.scan_suffixes(relative_path);
364
assert_eq!(paths.len(), 2);
365
366
+ // Reset CWD: necessary on Windows only - otherwise we get the error:
367
+ // "The process cannot access the file because it is being used by another process."
368
+ // (code 32)
369
+ std::env::set_current_dir("/").unwrap();
370
+
371
// Cleanup
372
std::fs::remove_dir_all(&working_dir).unwrap();
373
}
0 commit comments