Browse Source

test: add time is builtin test

main
fdai7375 2 years ago
parent
commit
b825d79b5e
  1. 5
      src/builtins/mod.rs

5
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"))

Loading…
Cancel
Save