mirror of
https://github.com/nushell/nushell
synced 2025-01-13 13:49:21 +00:00
Fix randomly failing test (#1200)
* Fix randomly failing test * Fix randomly failing test
This commit is contained in:
parent
0dcd90cb8f
commit
5fd3191d91
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ async fn run_with_stdin(
|
|||
yield Ok(Value {
|
||||
value: UntaggedValue::Error(ShellError::labeled_error(
|
||||
message,
|
||||
"unable to write to stdin",
|
||||
"application may have closed before completing pipeline",
|
||||
&name_tag,
|
||||
)),
|
||||
tag: name_tag,
|
||||
|
|
|
@ -96,7 +96,7 @@ mod pipeline {
|
|||
fn shows_error_for_external_command_that_fails() {
|
||||
let actual = nu_error!(
|
||||
cwd: "tests/fixtures",
|
||||
"echo \"1\" | ^false"
|
||||
"^false"
|
||||
);
|
||||
|
||||
assert!(actual.contains("External command failed"));
|
||||
|
|
Loading…
Reference in a new issue