mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 21:00:36 +02:00
Fix missing invocation errors (#1846)
This commit is contained in:
@ -100,6 +100,16 @@ fn invocation_handles_dot() {
|
||||
})
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn argument_invocation_reports_errors() {
|
||||
let actual = nu!(
|
||||
cwd: ".",
|
||||
"echo $(ferris_is_not_here.exe)"
|
||||
);
|
||||
|
||||
assert!(actual.err.contains("Command not found"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn can_process_one_row_from_internal_and_pipes_it_to_stdin_of_external() {
|
||||
let actual = nu!(
|
||||
|
Reference in New Issue
Block a user