(capsys)
| 56 | |
| 57 | |
| 58 | def test_block_at(capsys): |
| 59 | def _plugin(_md: MarkdownIt) -> None: |
| 60 | _md.block.ruler.at("hr", block_rule) |
| 61 | |
| 62 | MarkdownIt().use(_plugin).parse("a") |
| 63 | assert "plugin called" in capsys.readouterr().out |
| 64 | |
| 65 | |
| 66 | def core_rule(state): |
nothing calls this directly
no test coverage detected
searching dependent graphs…