From 2c2e3d73c7eeea837cf7a2891a66596a7e817310 Mon Sep 17 00:00:00 2001 From: MarekSpodBiedry <73122968+MarekSpodBiedry@users.noreply.github.com> Date: Mon, 12 Oct 2026 08:06:16 +0200 Subject: [PATCH] Drop the arithmetic-only app bar test; the test window test covers it (#481) --- crates/ui-egui/src/chrome.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/ui-egui/src/chrome.rs b/crates/ui-egui/src/chrome.rs index ff8fa29b..fe5e3ff6 100644 --- a/crates/ui-egui/src/chrome.rs +++ b/crates/ui-egui/src/chrome.rs @@ -776,12 +776,6 @@ mod tests { use crate::test_window::{self, wheel}; - #[test] - fn the_app_bar_tools_slot_leaves_slack_when_everything_fits() { - assert!(super::tools_slot_width(500.0, 300.0) < 500.0, "a full-width slot can overflow by a rounding error"); - assert_eq!(super::tools_slot_width(200.0, 300.0), 300.0, "a narrow window still scrolls"); - } - /// The Control panel's last control with nothing selected. const LAST_CONTROL: &str = "Jump to Next Column"; const FIRST_CONTROL: &str = "Rotate 90° Counterclockwise";