Skip to content

Commit 202782e

Browse files
committed
Update xfailed tests
1 parent 4620bb0 commit 202782e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tests/test_cmark_spec/test_spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def test_spec(entry):
2323
output = md.render(entry["markdown"])
2424
expected = entry["html"]
2525

26-
if entry["example"] == 593:
26+
if entry["example"] == 596:
2727
# this doesn't have any bearing on the output
2828
output = output.replace("mailto", "MAILTO")
29-
if entry["example"] in [187, 209, 210]:
29+
if entry["example"] in [218, 239, 240]:
3030
# this doesn't have any bearing on the output
3131
output = output.replace(
3232
"<blockquote></blockquote>", "<blockquote>\n</blockquote>"

tests/test_port/test_fixtures.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ def test_table(line, title, input, expected):
6464
read_fixture_file(FIXTURE_PATH.joinpath("commonmark_extras.md")),
6565
)
6666
def test_commonmark_extras(line, title, input, expected):
67-
if line in [74, 88]:
67+
if title in {
68+
"Escaping entities in links:",
69+
"Checking combination of replaceEntities and unescapeMd:",
70+
}:
6871
# TODO fix failing escaping tests
6972
# probably requires a fix of common.utils.stripEscape
7073
pytest.xfail("escaping entities in link titles / fence.info")

0 commit comments

Comments
 (0)