mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 00:03:49 +01:00
wip: correct constructor use in test that creates a State for testing
This commit is contained in:
parent
55f5da5096
commit
3eeea4622b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user