From 0011cfee95063849fac742600f16c56585fa0f46 Mon Sep 17 00:00:00 2001 From: aiongg Date: Tue, 13 Oct 2026 19:23:22 +0000 Subject: [PATCH] Integration: the grouped reading-order test finds its image by alt text (#785 writes no file name) --- crates/epub/tests/grouped_reading_order.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/epub/tests/grouped_reading_order.rs b/crates/epub/tests/grouped_reading_order.rs index bd3e78d49..5e1f570b1 100644 --- a/crates/epub/tests/grouped_reading_order.rs +++ b/crates/epub/tests/grouped_reading_order.rs @@ -109,6 +109,8 @@ fn nested_and_item_rotations_are_combined_before_measuring_graphics() { crop: [0.0; 4], wrap: Default::default(), }); + // The export writes the alt text, not the file name. + item.alt_text = "Grouped image".into(); item.xf = Affine::rotate(std::f64::consts::FRAC_PI_4); doc.insert_item(SpreadRef::Doc(0), item, None).unwrap(); let inner = group(&mut doc, 0, &[image], Affine::rotate(-std::f64::consts::FRAC_PI_4));