@@ -45,16 +45,3 @@ fn the_dot_is_half_the_icon_size() {
|
||||
dot.size
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_dot_keeps_a_square_footprint() {
|
||||
let (cx, window) = dot_window();
|
||||
let mut visual = VisualTestContext::from_window(window, &cx);
|
||||
let dot = visual.debug_bounds("test-dot").expect("dot missing");
|
||||
|
||||
assert!(
|
||||
(dot.size.width - dot.size.height).abs() <= gpui::px(0.5),
|
||||
"the dot must stay circular: {:?}",
|
||||
dot.size
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user