diff options
author | Tim Oram <dev@mitmaro.ca> | 2020-09-20 21:53:07 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2020-09-20 22:28:42 -0230 |
commit | 102b88db175a5c283e3202324327e3c207c5f907 (patch) | |
tree | 1a0f71c0c7ccfebfc7535cf1ae7a3380d703597b /src/confirm_rebase/mod.rs | |
parent | 94db781de644a2ee5a0f7925b2df33f0d81ef123 (diff) |
Rename assert_handle_input_result macro
Since HandleInputResult has been merged into ProcessResult, this macro
should be renamed to match.
Diffstat (limited to 'src/confirm_rebase/mod.rs')
-rw-r--r-- | src/confirm_rebase/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/confirm_rebase/mod.rs b/src/confirm_rebase/mod.rs index 352f3b5..d9f12fe 100644 --- a/src/confirm_rebase/mod.rs +++ b/src/confirm_rebase/mod.rs @@ -52,7 +52,7 @@ impl ConfirmRebase { #[cfg(test)] mod tests { - use crate::assert_handle_input_result; + use crate::assert_process_result; use crate::build_render_output; use crate::config::Config; use crate::confirm_rebase::ConfirmRebase; @@ -82,7 +82,7 @@ mod tests { let mut confirm_rebase = ConfirmRebase::new(); let result = confirm_rebase.handle_input(input_handler, git_interactive, view); - assert_handle_input_result!(result, input = Input::Yes, exit_status = ExitStatus::Good); + assert_process_result!(result, input = Input::Yes, exit_status = ExitStatus::Good); assert_eq!(git_interactive.get_lines().len(), 1); } ); @@ -94,7 +94,7 @@ mod tests { |input_handler: &InputHandler<'_>, git_interactive: &mut GitInteractive, view: &View<'_>| { let mut confirm_rebase = ConfirmRebase::new(); let result = confirm_rebase.handle_input(input_handler, git_interactive, view); - assert_handle_input_result!(result, input = Input::No, state = State::List); + assert_process_result!(result, input = Input::No, state = State::List); assert_eq!(git_interactive.get_lines().len(), 1); } ); @@ -106,7 +106,7 @@ mod tests { |input_handler: &InputHandler<'_>, git_interactive: &mut GitInteractive, view: &View<'_>| { let mut confirm_rebase = ConfirmRebase::new(); let result = confirm_rebase.handle_input(input_handler, git_interactive, view); - assert_handle_input_result!(result, input = Input::No, state = State::List); + assert_process_result!(result, input = Input::No, state = State::List); } ); @@ -117,7 +117,7 @@ mod tests { |input_handler: &InputHandler<'_>, git_interactive: &mut GitInteractive, view: &View<'_>| { let mut confirm_rebase = ConfirmRebase::new(); let result = confirm_rebase.handle_input(input_handler, git_interactive, view); - assert_handle_input_result!(result, input = Input::Resize); + assert_process_result!(result, input = Input::Resize); } ); } |