fix hr tests
This commit is contained in:
@@ -229,7 +229,9 @@ def test_hn_nested_img():
|
||||
|
||||
|
||||
def test_hr():
|
||||
assert md('<hr>hr</hr>') == 'hr'
|
||||
assert md('Hello<hr>World') == 'Hello\n\n---\n\nWorld'
|
||||
assert md('Hello<hr />World') == 'Hello\n\n---\n\nWorld'
|
||||
assert md('<p>Hello</p>\n<hr>\n<p>World</p>') == 'Hello\n\n\n\n\n---\n\n\nWorld\n\n'
|
||||
|
||||
|
||||
def test_head():
|
||||
@@ -307,7 +309,3 @@ def test_strong_em_symbol():
|
||||
|
||||
def test_newline_style():
|
||||
assert md('a<br />b<br />c', newline_style=BACKSLASH) == 'a\\\nb\\\nc'
|
||||
|
||||
|
||||
def test_hr():
|
||||
assert md('Hello<hr />World') == 'Hello\n\n---\n\nWorld'
|
||||
|
||||
Reference in New Issue
Block a user