From 2b9bbba5d787f5f7c32063acc285f9aae8032ffc Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 18 Mar 2016 09:49:24 -0700 Subject: [PATCH] Relax an assertion in the concurrent tests The output may also have information about blocking, we just want the successful part. --- tests/test_cargo_concurrent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cargo_concurrent.rs b/tests/test_cargo_concurrent.rs index 6b4a5b6a0ca..4e8c1a8dbe5 100644 --- a/tests/test_cargo_concurrent.rs +++ b/tests/test_cargo_concurrent.rs @@ -86,7 +86,7 @@ test!(one_install_should_be_bad { assert_that(bad, execs().with_status(101).with_stderr_contains(&format!("\ {error} binary `foo[..]` already exists in destination as part of `[..]` ", error = ERROR))); - assert_that(good, execs().with_status(0).with_stderr("\ + assert_that(good, execs().with_status(0).with_stderr_contains("\ warning: be sure to add `[..]` to your PATH [..] "));