Skip to content

Commit

Permalink
Ignore vsdb files when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
voltrevo committed Mar 1, 2024
1 parent 38ec6cc commit ea9e16b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vstc/src/test_inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ mod tests {
}

fn get_files_recursively(dir_path: &PathBuf) -> Result<Vec<PathBuf>, std::io::Error> {
if dir_path.extension().map_or(false, |ext| ext == "vsdb") {
return Ok(vec![]);
}

let mut files = vec![];

for entry in fs::read_dir(dir_path)? {
Expand Down

0 comments on commit ea9e16b

Please sign in to comment.