Browse Source

test: add segfault is builtin test

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

5
src/builtins/mod.rs

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

Loading…
Cancel
Save