Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

tests: the NoRotate test's annotation has main's points field too

Guillem Hermida07f0faf4d582
diff --git a/crates/render/src/inspect.rs b/crates/render/src/inspect.rs
index 24564ca44..e4a3fb041 100644
--- a/crates/render/src/inspect.rs
+++ b/crates/render/src/inspect.rs
@@ -2356,6 +2356,7 @@ mod tests {
intent: None,
fill_sign: false,
no_rotate: true,
+ points: Vec::new(),
};
let rect = note.rect.map(f64::from);
for rotation in [0u16, 90, 180, 270, 45] {