nushell/tests/command_cd_tests.rs
2019-08-29 01:31:56 -05:00

13 lines
262 B
Rust

mod helpers;
#[test]
fn cd_directory_not_found() {
let actual = nu_error!(
cwd: "tests/fixtures",
"cd dir_that_does_not_exist"
);
assert!(actual.contains("dir_that_does_not_exist"));
assert!(actual.contains("directory not found"));
}