From 0509659d14c2158847764efa8eb79bd29f8ab9b2 Mon Sep 17 00:00:00 2001 From: fdai7374 Date: Thu, 2 Feb 2023 19:03:10 +0100 Subject: [PATCH] test: add logout 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 05be250..bb764dc 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -96,6 +96,11 @@ mod tests { assert_eq!(is_builtin("help"), true); } + #[test] + fn test_is_builtin_logout(){ + assert_eq!(is_builtin("logout"), true) + } + #[test] fn test_is_builtin_ls() { assert_eq!(is_builtin("ls"), true);