Skip to content

Commit ce2275f

Browse files
committed
test(fuzz): Show reproduction cases
1 parent 715616f commit ce2275f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/toml_edit_fuzz/parse_document.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ use toml_edit::Document;
44

55
libfuzzer_sys::fuzz_target!(|data| {
66
if let Ok(data) = std::str::from_utf8(data) {
7+
println!("parsing: {data:?}");
78
let doc = data.parse::<Document>();
89
if let Ok(doc) = doc {
910
let toml = doc.to_string();
11+
println!("parsing: {toml:?}");
1012
let doc = toml.parse::<Document>();
1113
assert!(
1214
doc.is_ok(),

0 commit comments

Comments
 (0)