Browse Source

test: add logout is builtin command test

main
fdai7374 2 years ago
committed by fdai7451
parent
commit
0509659d14
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -96,6 +96,11 @@ mod tests {
assert_eq!(is_builtin("help"), true); assert_eq!(is_builtin("help"), true);
} }
#[test]
fn test_is_builtin_logout(){
assert_eq!(is_builtin("logout"), true)
}
#[test] #[test]
fn test_is_builtin_ls() { fn test_is_builtin_ls() {
assert_eq!(is_builtin("ls"), true); assert_eq!(is_builtin("ls"), true);

Loading…
Cancel
Save