|
@ -70,6 +70,11 @@ mod tests { |
|
|
assert_eq!(is_builtin("pwd"), true);
|
|
|
assert_eq!(is_builtin("pwd"), true);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
|
|
fn test_is_builtin_change_prompt() {
|
|
|
|
|
|
assert_eq!(is_builtin("change-prompt"), 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)
|
|
|