Browse Source

test: add sus is builtin command test

main
fdai7374 2 years ago
parent
commit
2c74829438
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -95,6 +95,11 @@ mod tests {
assert_eq!(is_builtin("change-prompt"), true); assert_eq!(is_builtin("change-prompt"), true);
} }
#[test]
fn test_is_builtin_sus() {
assert_eq!(is_builtin("sus"), true);
}
#[test] #[test]
fn test_is_builtin_notabuiltin() { fn test_is_builtin_notabuiltin() {
assert_eq!(is_builtin("notabuiltin"), false) assert_eq!(is_builtin("notabuiltin"), false)

Loading…
Cancel
Save