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

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

Ok(())
}

0 comments on commit 334c613

Please sign in to comment.