We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 715616f commit ce2275fCopy full SHA for ce2275f
crates/toml_edit_fuzz/parse_document.rs
@@ -4,9 +4,11 @@ use toml_edit::Document;
4
5
libfuzzer_sys::fuzz_target!(|data| {
6
if let Ok(data) = std::str::from_utf8(data) {
7
+ println!("parsing: {data:?}");
8
let doc = data.parse::<Document>();
9
if let Ok(doc) = doc {
10
let toml = doc.to_string();
11
+ println!("parsing: {toml:?}");
12
let doc = toml.parse::<Document>();
13
assert!(
14
doc.is_ok(),
0 commit comments