Skip to content

Commit

Permalink
test: unordered list with code block, followed by ordered list
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed Aug 15, 2023
1 parent 56cd834 commit 18a4740
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ fn fuzz() -> Result<(), String> {
"10: attention in different links (GH-21)"
);

assert!(
matches!(
to_mdast("* ~~~\n1.", &Default::default()),
Ok(mdast::Node::Root(_))
),
"10: should support unordered list with code block, followed by ordered list"
);

assert!(
matches!(
to_mdast("* [ ]\na", &Default::default()),
Expand Down

0 comments on commit 18a4740

Please sign in to comment.