Browse Source

test: add cd test without args

main
fdai7451 2 years ago
parent
commit
fb41de9c2e
  1. 5
      src/builtins/cd.rs

5
src/builtins/cd.rs

@ -27,6 +27,11 @@ mod tests {
use super::*;
use std::path::Path;
#[test]
fn test_cd_no_args() {
assert_eq!(Cd.execute(&mut BuiltinConfig::new(), vec![]), Ok(()))
}
#[test]
fn test_cd_current() {
assert_eq!(

Loading…
Cancel
Save