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 17bf644 commit 3c55387Copy full SHA for 3c55387
tests/namedtempfile.rs
@@ -332,7 +332,10 @@ fn test_change_dir() {
332
let path = std::env::current_dir().unwrap().join(tmpfile.path());
333
std::env::set_current_dir(&dir_b).expect("failed to change to directory B");
334
drop(tmpfile);
335
- assert!(!exists(path))
+ assert!(!exists(path));
336
+
337
+ drop(dir_a);
338
+ drop(dir_b);
339
}
340
341
#[test]
@@ -347,7 +350,10 @@ fn test_change_dir_make() {
347
350
348
351
349
352
353
354
355
356
357
358
359
0 commit comments