App dock test compares the floating window's rect

This commit is contained in:
skylartaylor committed 2026-11-24 14:40:15 +01:00
1 parent 562104ebf9
commit a744dc0da2
1 file changed
+1 -1
+1 -1
View File
@@ -279,7 +279,7 @@ fn docking_survives_native_settings_file_reload() {
restored_app.run("ui.dock", serde_json::json!({"operation":"open", "panel":"tools"})).unwrap();
assert_eq!(
restored_app.ui.docking.as_ref().unwrap().layout().floating.iter().find(|g| g.contains(&Panel::Tools)).unwrap().rect,
[70.0, 80.0, 310.0, 500.0]
egui::Rect::from_min_size(egui::pos2(70.0, 80.0), egui::vec2(310.0, 500.0))
);
std::fs::remove_dir_all(d).unwrap();
}