From 72ee544b776be081fdfda9c9b2ab78bf03c21ba5 Mon Sep 17 00:00:00 2001 From: fdai7381 Date: Mon, 30 Jan 2023 10:18:41 +0100 Subject: [PATCH] test: add segfault 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 4e7e146..ed42980 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -119,6 +119,11 @@ mod tests { assert_eq!(is_builtin("fetch"), true); } + #[test] + fn test_is_builtin_segfault() { + assert_eq!(is_builtin("segfault"), true); + } + #[test] fn test_is_builtin_notabuiltin() { assert_eq!(is_builtin("notabuiltin"), false)