Skip to content

Commit d8a2a61

Browse files
committed
test: switch to unordered assertions
This was caused by ffe59de ``` ---- expected: tests/testsuite/registry_overlay.rs:246:27 ++++ actual: stderr 1 1 | [UPDATING] `sparse+http://127.0.0.1:[..]/index/` index 2 2 | [LOCKING] 3 packages to latest compatible versions 3 3 | [ADDING] workspace-package v0.0.1 (available: v0.1.1) 4 4 | [DOWNLOADING] crates ... 5 5 | [UNPACKING] workspace-package v0.1.1 (registry `[ROOT]/alternative-registry`) 6 - [DOWNLOADED] registry-package v0.1.0 (registry `sparse+http://127.0.0.1:[..]/index/`) 7 - [DOWNLOADED] workspace-package v0.0.1 (registry `sparse+http://127.0.0.1:[..]/index/`) 6 + [DOWNLOADED] workspace-package v0.0.1 (registry `sparse+http://127.0.0.1:51512/index/`) 7 + [DOWNLOADED] registry-package v0.1.0 (registry `sparse+http://127.0.0.1:51512/index/`) 8 8 | [CHECKING] workspace-package v0.1.1 9 9 | [CHECKING] workspace-package v0.0.1 10 10 | [CHECKING] registry-package v0.1.0 11 11 | [CHECKING] foo v0.0.1 ([ROOT]/foo) 12 12 | [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s ```
1 parent 88edf01 commit d8a2a61

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/testsuite/registry_overlay.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ fn registry_dep_depends_on_new_local_package() {
243243

244244
p.cargo("check")
245245
.overlay_registry(&reg.index_url(), &alt_path)
246-
.with_stderr_data(str![[r#"
246+
.with_stderr_data(
247+
str![[r#"
247248
[UPDATING] `sparse+http://127.0.0.1:[..]/index/` index
248249
[LOCKING] 3 packages to latest compatible versions
249250
[ADDING] workspace-package v0.0.1 (available: v0.1.1)
@@ -257,7 +258,9 @@ fn registry_dep_depends_on_new_local_package() {
257258
[CHECKING] foo v0.0.1 ([ROOT]/foo)
258259
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
259260
260-
"#]])
261+
"#]]
262+
.unordered(),
263+
)
261264
.run();
262265
}
263266

0 commit comments

Comments
 (0)