From 334c613f0577bc013a3db94653c31909a2325afe Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Wed, 26 Oct 2022 07:23:37 -0700 Subject: [PATCH] test: unordered list with code block, followed by ordered list --- tests/fuzz.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/fuzz.rs b/tests/fuzz.rs index 4778cbb8..8506ccaf 100644 --- a/tests/fuzz.rs +++ b/tests/fuzz.rs @@ -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(()) }