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 26, 2022
1 parent e139a80 commit 945043f
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 @@ -98,5 +98,13 @@ fn fuzz() -> Result<(), String> {
"8-d: autolink literals after tabs (GH-18)"
);

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

Ok(())
}

0 comments on commit 945043f

Please sign in to comment.