mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-29 12:38:58 -06:00
Format with rustfmt
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
61ccfa237b
commit
83227d343a
@@ -40,9 +40,5 @@ fn deleting_the_last_attachment_removes_an_indirect_empty_names_dictionary() {
|
||||
assert!(attachment_keys(&doc).is_empty());
|
||||
let root = doc.root().unwrap();
|
||||
let catalog = doc.get(root).as_dict().cloned().unwrap();
|
||||
assert!(
|
||||
catalog.get(b"Names").is_none(),
|
||||
"the catalog keeps no empty /Names: {:?}",
|
||||
catalog.get(b"Names").map(|n| matches!(n, Object::Ref(_)))
|
||||
);
|
||||
assert!(catalog.get(b"Names").is_none(), "the catalog keeps no empty /Names: {:?}", catalog.get(b"Names").map(|n| matches!(n, Object::Ref(_))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user