Browse Source

test: add is not a builtin test

main
fdai7451 2 years ago
parent
commit
5d0f600cc4
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -38,4 +38,9 @@ mod tests {
fn test_is_builtin_cd() { fn test_is_builtin_cd() {
assert_eq!(is_builtin("cd"), true); assert_eq!(is_builtin("cd"), true);
} }
#[test]
fn test_is_builtin_notabuiltin() {
assert_eq!(is_builtin("notabuiltin"), false)
}
} }
Loading…
Cancel
Save