Add project search in gitignored test

This commit is contained in:
Kirill Bulatov 2023-12-05 12:28:26 +02:00
parent b43dc480a9
commit 92fbdb429c
3 changed files with 100 additions and 18 deletions

View file

@ -218,8 +218,6 @@ impl PathMatcher {
})
}
// TODO kb tests for matching
// TODO kb add an integration test on excluded file opening
pub fn is_match<P: AsRef<Path>>(&self, other: P) -> bool {
let other_path = other.as_ref();
other_path.starts_with(&self.maybe_path)