Skip to content

Commit 2b9bbba

Browse files
committed
Relax an assertion in the concurrent tests
The output may also have information about blocking, we just want the successful part.
1 parent ece4e96 commit 2b9bbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cargo_concurrent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ test!(one_install_should_be_bad {
8686
assert_that(bad, execs().with_status(101).with_stderr_contains(&format!("\
8787
{error} binary `foo[..]` already exists in destination as part of `[..]`
8888
", error = ERROR)));
89-
assert_that(good, execs().with_status(0).with_stderr("\
89+
assert_that(good, execs().with_status(0).with_stderr_contains("\
9090
warning: be sure to add `[..]` to your PATH [..]
9191
"));
9292

0 commit comments

Comments
 (0)