forked from extern/nushell
@ -1,14 +1,14 @@
|
||||
use nu_test_support::{nu, nu_error};
|
||||
|
||||
#[test]
|
||||
fn shows_error_for_command_that_fails() {
|
||||
let actual = nu_error!(
|
||||
cwd: ".",
|
||||
"fail"
|
||||
);
|
||||
// #[test]
|
||||
// fn shows_error_for_command_that_fails() {
|
||||
// let actual = nu_error!(
|
||||
// cwd: ".",
|
||||
// "fail"
|
||||
// );
|
||||
|
||||
assert!(actual.contains("External command failed"));
|
||||
}
|
||||
// assert!(actual.contains("External command failed"));
|
||||
// }
|
||||
|
||||
#[test]
|
||||
fn shows_error_for_command_not_found() {
|
||||
@ -17,7 +17,7 @@ fn shows_error_for_command_not_found() {
|
||||
"ferris_is_not_here.exe"
|
||||
);
|
||||
|
||||
assert!(actual.contains("External command failed"));
|
||||
assert!(actual.contains("Command not found"));
|
||||
}
|
||||
|
||||
mod it_evaluation {
|
||||
|
Reference in New Issue
Block a user