mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-08 19:41:53 +00:00
Integration: the grouped reading-order test finds its image by alt text (#785 writes no file name)
This commit is contained in:
1 parent
694878463c
commit
0011cfee95
1 file changed
+2
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user