Skip to content

Commit 1c4651e

Browse files
committed
Fix tests with nondeterministic ordering
1 parent 65cab34 commit 1c4651e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testsuite/inheritable_workspace_fields.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ fn inherit_own_dependencies() {
283283
Package::new("dep-dev", "0.5.2").publish();
284284

285285
p.cargo("check")
286-
.with_stderr(
286+
// Unordered because the download order is nondeterministic.
287+
.with_stderr_unordered(
287288
"\
288289
[UPDATING] `[..]` index
289290
[DOWNLOADING] crates ...
@@ -813,7 +814,8 @@ fn inherit_dependencies() {
813814
Package::new("dep-dev", "0.5.2").publish();
814815

815816
p.cargo("check")
816-
.with_stderr(
817+
// Unordered because the download order is nondeterministic.
818+
.with_stderr_unordered(
817819
"\
818820
[UPDATING] `[..]` index
819821
[DOWNLOADING] crates ...

0 commit comments

Comments
 (0)