mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 15:39:06 +01:00
Fix randomly failing test (#1200)
* Fix randomly failing test * Fix randomly failing test
This commit is contained in:
parent
0dcd90cb8f
commit
5fd3191d91
@ -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 New Issue
Block a user