Browse Source

test: add fetch is builtin test

main
fdai7381 2 years ago
committed by fdai7451
parent
commit
94cc4ec3f5
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -114,6 +114,11 @@ mod tests {
assert_eq!(is_builtin("quote"), true);
}
#[test]
fn test_is_builtin_fetch() {
assert_eq!(is_builtin("fetch"), true);
}
#[test]
fn test_is_builtin_notabuiltin() {
assert_eq!(is_builtin("notabuiltin"), false)

Loading…
Cancel
Save