(pattern: str, path: str, should_match: bool)
| 81 | |
| 82 | @pytest.mark.parametrize("pattern,path,should_match", CASES) |
| 83 | def test_file_patterns(pattern: str, path: str, should_match: bool): |
| 84 | p = FilePatternMatcher(pattern) |
| 85 | loc = ScanLocation(location=Path(path)) |
| 86 | |
| 87 | assert p.match(loc) is should_match |
| 88 |
nothing calls this directly
no test coverage detected