From 78340435144551aa9fcd84b1e9d3d9e0434674d7 Mon Sep 17 00:00:00 2001 From: fdai7375 Date: Tue, 24 Jan 2023 09:25:00 +0100 Subject: [PATCH] test: add change-prompt 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 958fc0e..eb050ad 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -70,6 +70,11 @@ mod tests { assert_eq!(is_builtin("pwd"), true); } + #[test] + fn test_is_builtin_change_prompt() { + assert_eq!(is_builtin("change-prompt"), true); + } + #[test] fn test_is_builtin_notabuiltin() { assert_eq!(is_builtin("notabuiltin"), false)