Skip to content

Commit 99c79d0

Browse files
test: two setext headings next to each other
1 parent af96212 commit 99c79d0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: tests/fuzz.rs

+8
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,13 @@ fn fuzz() -> Result<(), String> {
117117
"11: gfm task list items followed by eols (GH-24)"
118118
);
119119

120+
assert!(
121+
matches!(
122+
to_mdast("=\n=\n=\na\n=", &Default::default()),
123+
Ok(mdast::Node::Root(_))
124+
),
125+
"yy: gfm task list items followed by eols (GH-24)"
126+
);
127+
120128
Ok(())
121129
}

0 commit comments

Comments
 (0)