Tests: format the New Document orientation assertion

This commit is contained in:
dotCooCoo committed 2026-11-28 08:32:10 -08:00
1 parent 414d86ac1b
commit 85899089ec
1 file changed
+1 -4
+1 -4
View File
@@ -1026,10 +1026,7 @@ mod tests {
let landscape = bounds("Landscape", egui::accesskit::Role::RadioButton);
let artboards = bounds("Artboards", egui::accesskit::Role::SpinButton);
// Artboards follows Landscape on its line, or wraps below it when the column has no room for it.
assert!(
landscape.x1 <= artboards.x0 || landscape.y1 <= artboards.y0,
"Landscape {landscape:?} stays clear of Artboards {artboards:?}"
);
assert!(landscape.x1 <= artboards.x0 || landscape.y1 <= artboards.y0, "Landscape {landscape:?} stays clear of Artboards {artboards:?}");
let group = bounds("Orientation", egui::accesskit::Role::RadioGroup);
let mut drawn = Vec::new();
out.shapes.iter().for_each(|s| texts(&s.shape, &mut drawn));