From 5730bf1be7fa4792eabd3aaf3273f902fbcdb5fc Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 12 Oct 2026 08:53:45 -0400 Subject: [PATCH] R22: text box tests name the new insets field Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/docx/tests/text_boxes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/docx/tests/text_boxes.rs b/crates/docx/tests/text_boxes.rs index df18ff7..99bb2da 100644 --- a/crates/docx/tests/text_boxes.rs +++ b/crates/docx/tests/text_boxes.rs @@ -53,9 +53,9 @@ fn text_box(d: &mut Document, text: &str, body: TextBody) -> InlineObject { #[test] fn direction_alignment_and_links_round_trip() { let mut d = Document::from_text("a\nb\nc"); - let a = text_box(&mut d, "Flows on", TextBody { vert: TextVert::Vert, anchor: VAlign::Center, next: None }); + let a = text_box(&mut d, "Flows on", TextBody { vert: TextVert::Vert, anchor: VAlign::Center, next: None, insets: None }); let b = text_box(&mut d, "", TextBody::default()); - let c = text_box(&mut d, "", TextBody { vert: TextVert::Stacked, anchor: VAlign::Bottom, next: None }); + let c = text_box(&mut d, "", TextBody { vert: TextVert::Stacked, anchor: VAlign::Bottom, next: None, insets: None }); for (i, o) in [a, b, c].into_iter().enumerate() { d.insert_object(&wordcraft_doc::Pos::body(i, 1), o, &Default::default()).unwrap(); }