From bbf652a8b80a50ffae61885739af7dfac55b47f0 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)