Skip to content

Commit

Permalink
Fix tests with nondeterministic ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Feb 25, 2023
1 parent 65cab34 commit 1c4651e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testsuite/inheritable_workspace_fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ fn inherit_own_dependencies() {
Package::new("dep-dev", "0.5.2").publish();

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

p.cargo("check")
.with_stderr(
// Unordered because the download order is nondeterministic.
.with_stderr_unordered(
"\
[UPDATING] `[..]` index
[DOWNLOADING] crates ...
Expand Down

0 comments on commit 1c4651e

Please sign in to comment.