mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 17:54:36 +01:00
Tests: format the New Document orientation assertion
This commit is contained in:
1 parent
414d86ac1b
commit
85899089ec
1 file changed
+1
-4
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user