From 9b6331458ff89d0ff7cbe99f6c7d5d1021e14a5e Mon Sep 17 00:00:00 2001 From: fdai7375 Date: Tue, 24 Jan 2023 09:23:15 +0100 Subject: [PATCH] test: add pwd is builtin test --- src/builtins/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/builtins/mod.rs b/src/builtins/mod.rs index addf4f6..958fc0e 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -65,6 +65,11 @@ mod tests { assert_eq!(is_builtin("cd"), true); } + #[test] + fn test_is_builtin_pwd() { + assert_eq!(is_builtin("pwd"), true); + } + #[test] fn test_is_builtin_notabuiltin() { assert_eq!(is_builtin("notabuiltin"), false)