Skip to content

Commit

Permalink
Revert test directory cleaning change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jun 18, 2019
1 parent 22a8715 commit 0082290
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/testsuite/support/paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ lazy_static! {
}

path.push(CARGO_INTEGRATION_TEST_DIR);

path.rm_rf();
path.mkdir_p();

path
};

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

let guard = TestIdGuard { _private: () };

root().mkdir_p();
let r = root();
r.rm_rf();
r.mkdir_p();

guard
}
Expand Down

0 comments on commit 0082290

Please sign in to comment.