Skip to content

Commit 9fdde71

Browse files
test: two setext headings next to each other
1 parent 56cd834 commit 9fdde71

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/fuzz.rs

+8
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,13 @@ fn fuzz() -> Result<(), String> {
129129
"12: mdx: handle invalid mdx without panic (GH-26)"
130130
);
131131

132+
assert!(
133+
matches!(
134+
to_mdast("=\n=\n=\na\n=", &Default::default()),
135+
Ok(mdast::Node::Root(_))
136+
),
137+
"yy: setext headings next to each other (GH-31)"
138+
);
139+
132140
Ok(())
133141
}

0 commit comments

Comments
 (0)