Skip to content

Commit 3080f45

Browse files
test: unordered list with code block, followed by ordered list
1 parent 5d5e945 commit 3080f45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: tests/fuzz.rs

+8
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,13 @@ fn fuzz() -> Result<(), String> {
104104
"9: autolink literals that end in table cell delimiter (GH-20)"
105105
);
106106

107+
assert!(
108+
matches!(
109+
to_mdast("* ~~~\n1.", &Default::default()),
110+
Ok(mdast::Node::Root(_))
111+
),
112+
"10: should support unordered list with code block, followed by ordered list"
113+
);
114+
107115
Ok(())
108116
}

0 commit comments

Comments
 (0)