diff options
author | Tim Oram <dev@mitmaro.ca> | 2021-03-23 10:01:24 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2021-03-23 11:42:39 -0230 |
commit | 3064b2a8472a868149f40c25b2462e8fdc03eaea (patch) | |
tree | c109bf7c0b2fa5f6297d6964ab84df8b8a70dd34 /src/process/tests.rs | |
parent | badf080b4e003f082d631a155338bf92d2ea9432 (diff) |
Componentize the help system
This moves the help system out of the process module and into a reusable
component.
Diffstat (limited to 'src/process/tests.rs')
-rw-r--r-- | src/process/tests.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/process/tests.rs b/src/process/tests.rs index 8d5dfbc..cfdf900 100644 --- a/src/process/tests.rs +++ b/src/process/tests.rs @@ -151,23 +151,6 @@ fn help_start() { #[test] #[serial_test::serial] -fn help_exit() { - process_module_test( - &["pick aaa comment"], - ViewState::default(), - &[], - |test_context: TestContext<'_>| { - let mut process = Process::new(test_context.rebase_todo_file, test_context.view); - let mut modules = Modules::new(test_context.config); - process.state = State::Help; - let result = ProcessResult::new().input(Input::Help); - process.handle_process_result(&mut modules, &result); - }, - ); -} - -#[test] -#[serial_test::serial] fn other_input() { process_module_test( &["pick aaa comment"], |