(capsys)
| 27 | |
| 28 | |
| 29 | def test_inline_at(capsys): |
| 30 | def _plugin(_md: MarkdownIt) -> None: |
| 31 | _md.inline.ruler.at("text", inline_rule) |
| 32 | |
| 33 | MarkdownIt().use(_plugin).parse("a") |
| 34 | assert "plugin called" in capsys.readouterr().out |
| 35 | |
| 36 | |
| 37 | def block_rule(state, startLine, endLine, silent): |
nothing calls this directly
no test coverage detected
searching dependent graphs…