diff options
Diffstat (limited to 'ignore/src/walk.rs')
-rw-r--r-- | ignore/src/walk.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ignore/src/walk.rs b/ignore/src/walk.rs index df796d41..b3e05f08 100644 --- a/ignore/src/walk.rs +++ b/ignore/src/walk.rs @@ -1730,8 +1730,7 @@ mod tests { use std::path::Path; use std::sync::{Arc, Mutex}; - use tempfile::{self, TempDir}; - + use tests::TempDir; use super::{DirEntry, WalkBuilder, WalkState}; fn wfile<P: AsRef<Path>>(path: P, contents: &str) { @@ -1818,7 +1817,7 @@ mod tests { } fn tmpdir(prefix: &str) -> TempDir { - tempfile::Builder::new().prefix(prefix).tempdir().unwrap() + TempDir::new().unwrap() } fn assert_paths( |