From 7966acd0efdc991e8cbce6860ddeffb0e2f58f23 Mon Sep 17 00:00:00 2001 From: fdai7375 Date: Tue, 24 Jan 2023 10:12:14 +0100 Subject: [PATCH] test: add ls is builting 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 e0246ed..b2d257a 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -76,6 +76,11 @@ mod tests { assert_eq!(is_builtin("pwd"), true); } + #[test] + fn test_is_builtin_ls() { + assert_eq!(is_builtin("ls"), true); + } + #[test] fn test_is_builtin_open() { assert_eq!(is_builtin("open"), true);