From 2c2a4d5584340dffbf8274d41be843644b0d3d08 Mon Sep 17 00:00:00 2001 From: fdai7374 Date: Thu, 26 Jan 2023 20:47:00 +0100 Subject: [PATCH] test: add sus 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 7b24b29..96913eb 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -95,6 +95,11 @@ mod tests { assert_eq!(is_builtin("change-prompt"), true); } + #[test] + fn test_is_builtin_sus() { + assert_eq!(is_builtin("sus"), true); + } + #[test] fn test_is_builtin_notabuiltin() { assert_eq!(is_builtin("notabuiltin"), false)