From a665d55fecf7fee047d171b7c239deeb14b3fffd Mon Sep 17 00:00:00 2001 From: fdai7375 Date: Tue, 24 Jan 2023 09:51:20 +0100 Subject: [PATCH] test: add open 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 42ce318..d0ef272 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -74,6 +74,11 @@ mod tests { assert_eq!(is_builtin("pwd"), true); } + #[test] + fn test_is_builtin_open() { + assert_eq!(is_builtin("open"), true); + } + #[test] fn test_is_builtin_change_prompt() { assert_eq!(is_builtin("change-prompt"), true);