Browse Source

test: add change-prompt is builtin test

main
fdai7375 2 years ago
parent
commit
b54b4e703b
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

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

Loading…
Cancel
Save