Browse Source

test: add time is builtin test

main
fdai7375 2 years ago
committed by fdai7451
parent
commit
8d50d36db1
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -134,6 +134,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