From c34879866338f6c6100bf930333a1e809e378f0c Mon Sep 17 00:00:00 2001 From: fdai7374 Date: Sat, 28 Jan 2023 19:23:55 +0100 Subject: [PATCH] test: add help is builtin command test --- src/builtins/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/builtins/mod.rs b/src/builtins/mod.rs index 2da1a20..22470e4 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -82,6 +82,11 @@ mod tests { assert_eq!(is_builtin("pwd"), true); } + #[test] + fn test_is_builtin_help() { + assert_eq!(is_builtin("help"), true); + } + #[test] fn test_is_builtin_ls() { assert_eq!(is_builtin("ls"), true);