Browse Source

test: add open is builtin command test

main
fdai7375 2 years ago
committed by fdai7451
parent
commit
a665d55fec
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -74,6 +74,11 @@ mod tests {
assert_eq!(is_builtin("pwd"), true); assert_eq!(is_builtin("pwd"), true);
} }
#[test]
fn test_is_builtin_open() {
assert_eq!(is_builtin("open"), true);
}
#[test] #[test]
fn test_is_builtin_change_prompt() { fn test_is_builtin_change_prompt() {
assert_eq!(is_builtin("change-prompt"), true); assert_eq!(is_builtin("change-prompt"), true);

Loading…
Cancel
Save