(
orig_text: str,
collection: list[str],
casing: str,
expected: list[tuple[str, int]],
)
| 358 | ], |
| 359 | ) |
| 360 | def test_find_matches_applies_casing( |
| 361 | orig_text: str, |
| 362 | collection: list[str], |
| 363 | casing: str, |
| 364 | expected: list[tuple[str, int]], |
| 365 | ) -> None: |
| 366 | matches = collect_matches(orig_text, collection, casing=casing) |
| 367 | |
| 368 | assert matches == expected |
| 369 | |
| 370 | |
| 371 | def test_init_invalid_keyword_casing_defaults_to_auto() -> None: |
nothing calls this directly
no test coverage detected