Skip to content

Commit 0082290

Browse files
committed
Revert test directory cleaning change.
1 parent 22a8715 commit 0082290

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/testsuite/support/paths.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ lazy_static! {
2828
}
2929

3030
path.push(CARGO_INTEGRATION_TEST_DIR);
31-
32-
path.rm_rf();
3331
path.mkdir_p();
34-
3532
path
3633
};
3734

@@ -62,7 +59,9 @@ pub fn init_root() -> TestIdGuard {
6259

6360
let guard = TestIdGuard { _private: () };
6461

65-
root().mkdir_p();
62+
let r = root();
63+
r.rm_rf();
64+
r.mkdir_p();
6665

6766
guard
6867
}

0 commit comments

Comments
 (0)