aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzz.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz.rs')
-rw-r--r--tests/fuzz.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fuzz.rs b/tests/fuzz.rs
index 72f365e..1e80701 100644
--- a/tests/fuzz.rs
+++ b/tests/fuzz.rs
@@ -68,5 +68,11 @@ fn fuzz() -> Result<(), String> {
"6-b: container close after unclosed fenced code, with eol (list, GH-16)"
);
+ assert_eq!(
+ to_html_with_options("> x\n``", &Options::gfm()),
+ Ok("<blockquote>\n<p>x</p>\n</blockquote>\n<p>``</p>".into()),
+ "7: lazy container lines almost starting fenced code (GH-19)"
+ );
+
Ok(())
}