diff --git a/crates/ui-egui/src/dialogs/new_document.rs b/crates/ui-egui/src/dialogs/new_document.rs index f2007ed5d2..8e770d3da7 100644 --- a/crates/ui-egui/src/dialogs/new_document.rs +++ b/crates/ui-egui/src/dialogs/new_document.rs @@ -1573,7 +1573,10 @@ mod tests { assert!(a.y1 <= portrait.y0 || landscape.x1 <= a.x0, "{at}: Orientation {landscape:?} stays clear of Artboards {a:?}"); let [top, bottom, left, right] = ["Top", "Bottom", "Left", "Right"].map(|side| node(&nodes, side, Role::SpinButton)); assert!(top.y0 == bottom.y0 && left.y0 == right.y0 && top.y1 <= left.y0, "{at}: two Bleed rows: {top:?} {bottom:?} {left:?} {right:?}"); - assert!(top.x0 == left.x0 && bottom.x0 == right.x0 && top.x1 <= bottom.x0, "{at}: two Bleed columns: {top:?} {bottom:?} {left:?} {right:?}"); + assert!( + top.x0 == left.x0 && bottom.x0 == right.x0 && top.x1 <= bottom.x0, + "{at}: two Bleed columns: {top:?} {bottom:?} {left:?} {right:?}" + ); let link = node(&nodes, "Make all settings the same", Role::Button); assert!(right.x1 <= link.x0 && link.x1 <= dialog.x1, "{at}: the link button {link:?} follows Right {right:?} inside {dialog:?}"); }