Tests: the dock-width test builds its UiState with the width, as clippy asks (#2953)

This commit is contained in:
bflatastic
2026-10-19 00:28:48 +07:00
parent 57ddb71d97
commit b529f356cc
+1 -2
View File
@@ -500,8 +500,7 @@ mod tests {
#[test]
fn saved_workspaces_restore_dock_width() {
let mut ui = UiState::default();
ui.dock_width = Some(420.0);
let mut ui = UiState { dock_width: Some(420.0), ..Default::default() };
save_as(&mut ui, "Wide").unwrap();
ui.dock_width = Some(260.0);
save_as(&mut ui, "Narrow").unwrap();