Skip to content

Commit ef59092

Browse files
committed
🧪 TEST: Identify minmal failure for #31
1 parent f311f50 commit ef59092

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#31 empty lines after certain lists raises exception:
2+
.
3+
> a
4+
5+
- b
6+
7+
8+
.
9+
<blockquote>
10+
<p>a</p>
11+
</blockquote>
12+
<ul>
13+
<li>b</li>
14+
</ul>
15+
.

tests/test_port/test_fixtures.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,13 @@ def test_strikethrough(line, title, input, expected):
6666
md = MarkdownIt().enable("strikethrough")
6767
text = md.render(input)
6868
assert text.rstrip() == expected.rstrip()
69+
70+
71+
@pytest.mark.parametrize(
72+
"line,title,input,expected",
73+
read_fixture_file(FIXTURE_PATH.joinpath("issue-fixes.md")),
74+
)
75+
def test_issue_fixes(line, title, input, expected):
76+
md = MarkdownIt()
77+
text = md.render(input)
78+
assert text.rstrip() == expected.rstrip()

0 commit comments

Comments
 (0)