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 Oct 28, 2022
1 parent 5d5e945 commit 3080f45
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 @@ -104,5 +104,13 @@ fn fuzz() -> Result<(), String> {
"9: autolink literals that end in table cell delimiter (GH-20)"
);

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

Ok(())
}

0 comments on commit 3080f45

Please sign in to comment.