Skip to content

Commit 334c613

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

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
@@ -129,5 +129,13 @@ fn fuzz() -> Result<(), String> {
129129
"12: mdx: handle invalid mdx without panic (GH-26)"
130130
);
131131

132+
assert!(
133+
matches!(
134+
to_mdast("* ~~~\n1.", &Default::default()),
135+
Ok(mdast::Node::Root(_))
136+
),
137+
"yy: should support unordered list with code block, followed by ordered list (GH-23)"
138+
);
139+
132140
Ok(())
133141
}

0 commit comments

Comments
 (0)