diff options
Diffstat (limited to 'src/process/tests.rs')
-rw-r--r-- | src/process/tests.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/process/tests.rs b/src/process/tests.rs index a7e6a19..7465466 100644 --- a/src/process/tests.rs +++ b/src/process/tests.rs @@ -8,7 +8,6 @@ use crate::{ input::{InputOptions, KeyBindings}, module::{Module, DEFAULT_INPUT_OPTIONS, DEFAULT_VIEW_DATA}, runtime::Status, - search::{Interrupter, SearchResult}, test_helpers::{create_default_test_module_handler, create_test_module_handler, mocks, testers}, todo_file::Line, view::{ViewData, REFRESH_THREAD_NAME}, @@ -614,10 +613,7 @@ fn handle_search_term() { let search_term = String::from("foo"); results.search_term(search_term.as_str()); process.handle_results(results); - assert!(matches!( - search_context.state.receive_update(), - Action::Start(search_term) - )); + assert!(matches!(search_context.state.receive_update(), Action::Start(_))); }, ); } |