Skip to content

Commit

Permalink
Show hidden files in functional tests
Browse files Browse the repository at this point in the history
Needed for a different branch, committing this change to `main`
  • Loading branch information
max-sixty committed Oct 12, 2024
1 parent 2b8fce7 commit 45d5a88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cargo-insta/tests/functional/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 45d5a88

Please sign in to comment.