(capsys)
| 11 | |
| 12 | |
| 13 | def test_inline_after(capsys): |
| 14 | def _plugin(_md: MarkdownIt) -> None: |
| 15 | _md.inline.ruler.after("text", "new_rule", inline_rule) |
| 16 | |
| 17 | MarkdownIt().use(_plugin).parse("[") |
| 18 | assert "plugin called" in capsys.readouterr().out |
| 19 | |
| 20 | |
| 21 | def test_inline_before(capsys): |
nothing calls this directly
no test coverage detected
searching dependent graphs…