diff --git a/crates/atuin/src/command/client/search/interactive.rs b/crates/atuin/src/command/client/search/interactive.rs index acf09602..ce5b533e 100644 --- a/crates/atuin/src/command/client/search/interactive.rs +++ b/crates/atuin/src/command/client/search/interactive.rs @@ -1413,7 +1413,7 @@ mod tests { use crate::command::client::search::engines::{self, SearchState}; use crate::command::client::search::history_list::ListState; - use super::{Compactness, State}; + use super::{Compactness, State, InspectingState}; #[test] fn calc_preview_height_test() { @@ -1583,6 +1583,11 @@ mod tests { prefix: false, current_cursor: None, tab_index: 0, + inspecting_state: InspectingState { + current: None, + next: None, + previous: None, + }, search: SearchState { input: String::new().into(), filter_mode: FilterMode::Directory,