Skip to content

Commit 18a4740

Browse files
test: unordered list with code block, followed by ordered list
1 parent 56cd834 commit 18a4740

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
@@ -109,6 +109,14 @@ fn fuzz() -> Result<(), String> {
109109
"10: attention in different links (GH-21)"
110110
);
111111

112+
assert!(
113+
matches!(
114+
to_mdast("* ~~~\n1.", &Default::default()),
115+
Ok(mdast::Node::Root(_))
116+
),
117+
"10: should support unordered list with code block, followed by ordered list"
118+
);
119+
112120
assert!(
113121
matches!(
114122
to_mdast("* [ ]\na", &Default::default()),

0 commit comments

Comments
 (0)