From a453efdf9abf23d40d54c3129264460a534a1b0f Mon Sep 17 00:00:00 2001 From: Lawrence Chou Date: Sun, 30 Jun 2024 13:16:44 +0800 Subject: [PATCH] test(freshness::reuse_panic_pm): Remove potentially unneeded `.unordered` https://github.com/rust-lang/cargo/pull/14161#discussion_r1660071433 --- tests/testsuite/freshness.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/testsuite/freshness.rs b/tests/testsuite/freshness.rs index fc9ba0d913c..5d0fd57e102 100644 --- a/tests/testsuite/freshness.rs +++ b/tests/testsuite/freshness.rs @@ -1611,9 +1611,7 @@ fn reuse_panic_pm() { // bar is built once without panic (for proc-macro) and once with (for the // normal dependency). - p.cargo("build -v") - .with_stderr_data( - str![[r#" + p.cargo("build -v").with_stderr_data(str![[r#" [LOCKING] 3 packages to latest compatible versions [COMPILING] bar v0.0.1 ([ROOT]/foo/bar) [RUNNING] `rustc --crate-name bar [..] bar/src/lib.rs [..]--crate-type lib --emit=[..]link[..] @@ -1624,10 +1622,7 @@ fn reuse_panic_pm() { [RUNNING] `rustc --crate-name foo [..]-C panic=abort[..]` [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s -"#]] - .unordered(), - ) - .run(); +"#]]).run(); } #[cargo_test]