satisfy linter

This commit is contained in:
AlexVonB
2021-01-12 22:42:06 +01:00
parent 97c78ef55b
commit 77d1e99bd5

View File

@@ -110,6 +110,7 @@ def test_hn():
assert md('<h3>Hello</h3>') == '### Hello\n\n'
assert md('<h6>Hello</h6>') == '###### Hello\n\n'
def test_hn_chained():
assert md('<h1>First</h1>\n<h2>Second</h2>\n<h3>Third</h3>', heading_style=ATX) == '# First\n\n\n## Second\n\n\n### Third\n\n'
assert md('X<h1>First</h1>', heading_style=ATX) == 'X# First\n\n'