diff --git a/cargo-insta/tests/functional/main.rs b/cargo-insta/tests/functional/main.rs index 5eb02f34..ade947bc 100644 --- a/cargo-insta/tests/functional/main.rs +++ b/cargo-insta/tests/functional/main.rs @@ -251,6 +251,7 @@ impl TestProject { fn current_file_tree(workspace_dir: &Path) -> String { WalkBuilder::new(workspace_dir) + .hidden(false) .filter_entry(|e| e.path().file_name() != Some(std::ffi::OsStr::new("target"))) .build() .filter_map(|e| e.ok())