diff --git a/src/main.rs b/src/main.rs index 63d274f..09c5289 100644 --- a/src/main.rs +++ b/src/main.rs @@ -584,6 +584,14 @@ mod tests { ); } + #[test] + fn test_config_init_bash() { + let mocked_deps = Unimock::new(args_mock("portman init bash")); + + let output = run_and_suggest(&mocked_deps).1; + assert!(!output.is_empty()); + } + #[test] fn test_config_init_fish() { let mocked_deps = Unimock::new(args_mock("portman init fish")); @@ -592,6 +600,14 @@ mod tests { assert!(!output.is_empty()); } + #[test] + fn test_config_init_zsh() { + let mocked_deps = Unimock::new(args_mock("portman init zsh")); + + let output = run_and_suggest(&mocked_deps).1; + assert!(!output.is_empty()); + } + #[test] fn test_config_edit() { let mocked_deps = Unimock::new((