From: debris Date: Thu, 27 Jul 2017 21:20:34 +0000 (+0200) Subject: Fixed bench_virtual_manifest_all_implied test X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~7^2~42^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7d842fea83a389c001320a870829c8abe81d1894;p=cargo.git Fixed bench_virtual_manifest_all_implied test --- diff --git a/tests/bench.rs b/tests/bench.rs index 728536d80..56cc52f6e 100644 --- a/tests/bench.rs +++ b/tests/bench.rs @@ -1231,20 +1231,13 @@ fn bench_virtual_manifest_all_implied() { "#); // The order in which foo and bar are built is not guaranteed + assert_that(p.cargo_process("bench"), execs().with_status(0) .with_stderr_contains("\ [RUNNING] target[/]release[/]deps[/]bar-[..][EXE]") - .with_stdout_contains(" -running 1 test -test bench_bar ... bench: 0 ns/iter (+/- 0) -test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured -") - .with_stderr_contains("\ + .with_stdout_contains("test bench_bar ... bench: [..]") + .with_stderr_contains("\ [RUNNING] target[/]release[/]deps[/]foo-[..][EXE]") - .with_stdout_contains(" -running 1 test -test bench_foo ... bench: 0 ns/iter (+/- 0) -test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured -")); + .with_stdout_contains("test bench_foo ... bench: [..]")); }