Skip to content

Commit 945043f

Browse files
test: unordered list with code block, followed by ordered list
1 parent e139a80 commit 945043f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/fuzz.rs

+8
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,13 @@ fn fuzz() -> Result<(), String> {
9898
"8-d: autolink literals after tabs (GH-18)"
9999
);
100100

101+
assert!(
102+
matches!(
103+
to_mdast("* ~~~)~)~] a*\n a*\n1.", &Default::default()),
104+
Ok(mdast::Node::Root(_))
105+
),
106+
"5: should support unordered list with code block, followed by ordered list"
107+
);
108+
101109
Ok(())
102110
}

0 commit comments

Comments
 (0)