From b825d79b5eaa08cd061b6c732c13a332dddc6075 Mon Sep 17 00:00:00 2001 From: fdai7375 Date: Thu, 2 Feb 2023 19:53:09 +0100 Subject: [PATCH] test: add time 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 b48b346..5977459 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -126,6 +126,11 @@ mod tests { assert!(is_builtin("quote")); } + #[test] + fn test_is_builtin_time() { + assert!(is_builtin("time")); + } + #[test] fn test_is_builtin_notabuiltin() { assert!(!is_builtin("notabuiltin"))