Skip to content

Commit

Permalink
Fix test_file_pattern_set
Browse files Browse the repository at this point in the history
  • Loading branch information
feds01 committed Dec 11, 2024
1 parent 678fb7e commit a325ff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/teamsearch_workspace/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ mod tests {
let set = FilePatternSet::try_from_iter(patterns).unwrap();

assert_eq!(set.len(), 1);
assert!(set.is_match("examples/notes/index.html"));
assert!(set.is_match("examples/notes/index.js"));
assert!(set.is_match("examples/notes/sub/index.js"));
assert!(set.is_match("notes/index.html"));
assert!(set.is_match("notes/index.js"));
assert!(set.is_match("notes/sub/index.js"));
}

#[test]
Expand Down

0 comments on commit a325ff5

Please sign in to comment.