(self, content: str)
| 382 | ], |
| 383 | ) |
| 384 | def test_mp1_detected(self, content: str) -> None: |
| 385 | assert any(f.rule_id == "MP1" for f in mp_mod.analyze(content, "test.md", "markdown")) |
| 386 | |
| 387 | def test_mp2_repeated_pattern(self) -> None: |
| 388 | assert any(f.rule_id == "MP2" for f in mp_mod.analyze("ha" * 50, "test.md", "markdown")) |