mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
12 lines
262 B
Rust
12 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"));
|
|
}
|