summaryrefslogtreecommitdiff
path: root/src/client/shell/tests/graphics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shell/tests/graphics.rs')
-rw-r--r--src/client/shell/tests/graphics.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client/shell/tests/graphics.rs b/src/client/shell/tests/graphics.rs
index 1b0071f1..c5fa1f4a 100644
--- a/src/client/shell/tests/graphics.rs
+++ b/src/client/shell/tests/graphics.rs
@@ -210,7 +210,6 @@ fn every_dialog_and_menu_occludes_its_panel_not_the_whole_screen() {
ClientShellOverlay::Rename(ClientRenameOverlay {
title: "rename",
input: "name".into(),
- replace_on_type: false,
target: ClientRenameTarget::Pane {
pane_id: "pane_1".into(),
},
@@ -221,12 +220,12 @@ fn every_dialog_and_menu_occludes_its_panel_not_the_whole_screen() {
detail: "confirm".into(),
}),
ClientShellOverlay::Help(ClientHelpOverlay {
- query: String::new(),
+ query: TextEditor::default(),
search_focused: false,
scroll: 0,
}),
ClientShellOverlay::Navigator(ClientNavigatorOverlay {
- query: String::new(),
+ query: TextEditor::default(),
search_focused: false,
selected: None,
scroll: 0,
@@ -238,7 +237,6 @@ fn every_dialog_and_menu_occludes_its_panel_not_the_whole_screen() {
repo_name: "repo".into(),
branch: "branch".into(),
checkout_path: "path".into(),
- replace_on_type: false,
error: None,
creating: false,
}),
@@ -246,7 +244,7 @@ fn every_dialog_and_menu_occludes_its_panel_not_the_whole_screen() {
source_workspace_id: "ws_1".into(),
entries: Vec::new(),
selected: 0,
- query: String::new(),
+ query: TextEditor::default(),
search_focused: false,
error: None,
opening: false,