diff --git a/src/builtins/help.rs b/src/builtins/help.rs index 9765d61..afd6321 100644 --- a/src/builtins/help.rs +++ b/src/builtins/help.rs @@ -53,4 +53,9 @@ mod tests { #[test] fn test_split_command_empty(){assert_eq!(split_command(""),vec!["",""])} + + #[test] + fn test_split_command_only_space(){ + assert_eq!(split_command(" "),vec!["",""]); + } } \ No newline at end of file