aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzz_targets/micromark.rs
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzz_targets/micromark.rs')
-rw-r--r--fuzz/fuzz_targets/micromark.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/fuzz/fuzz_targets/micromark.rs b/fuzz/fuzz_targets/micromark.rs
index f4d2927..2137e0e 100644
--- a/fuzz/fuzz_targets/micromark.rs
+++ b/fuzz/fuzz_targets/micromark.rs
@@ -7,10 +7,9 @@ fuzz_target!(|data: &[u8]| {
let _ = micromark::micromark(s);
let _ = micromark::micromark_with_options(
s,
- &micromark::Options {
- constructs: micromark::Constructs::gfm(),
- ..micromark::Options::default()
- },
+ &micromark::Options::gfm()
);
+ let _ = micromark::micromark_to_mdast(s, &micromark::ParseOptions::default());
+ let _ = micromark::micromark_to_mdast(s, &micromark::ParseOptions::gfm());
}
});