aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzz.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz.rs')
-rw-r--r--tests/fuzz.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fuzz.rs b/tests/fuzz.rs
index d1a87b7..297e6a9 100644
--- a/tests/fuzz.rs
+++ b/tests/fuzz.rs
@@ -109,5 +109,13 @@ fn fuzz() -> Result<(), String> {
"10: attention in different links (GH-21)"
);
+ assert!(
+ matches!(
+ to_mdast("* [ ]\na", &Default::default()),
+ Ok(mdast::Node::Root(_))
+ ),
+ "11: gfm task list items followed by eols (GH-24)"
+ );
+
Ok(())
}