Browse Source

test: add fetch is builtin test

main
fdai7381 2 years ago
parent
commit
2bce636c01
  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