mirror of
https://github.com/nushell/nushell
synced 2024-11-14 00:47:09 +00:00
11 lines
No EOL
275 B
Rust
11 lines
No EOL
275 B
Rust
mod helpers;
|
|
|
|
use helpers::in_directory as cwd;
|
|
|
|
#[test]
|
|
fn cd_directory_not_found() {
|
|
nu_error!(output, cwd("tests/fixtures"), "cd dir_that_does_not_exist");
|
|
|
|
assert!(output.contains("dir_that_does_not_exist"));
|
|
assert!(output.contains("directory not found"));
|
|
} |