Skip to content

Commit 4d28f23

Browse files
committed
Auto merge of #11983 - ehuss:beta-fix-not_found_permutations, r=weihanglo
[beta-1.70] Backport not_found_permutations test fix. This is a backport of #11976 to 1.70. I'm concerned that this test could result in trouble in CI.
2 parents 84b7041 + 9009251 commit 4d28f23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/testsuite/registry.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -3183,13 +3183,14 @@ required by package `foo v0.0.1 ([ROOT]/foo)`
31833183
",
31843184
)
31853185
.run();
3186-
let misses = misses.lock().unwrap();
3186+
let mut misses = misses.lock().unwrap();
3187+
misses.sort();
31873188
assert_eq!(
31883189
&*misses,
31893190
&[
31903191
"/index/a-/b-/a-b-c",
3191-
"/index/a_/b-/a_b-c",
31923192
"/index/a-/b_/a-b_c",
3193+
"/index/a_/b-/a_b-c",
31933194
"/index/a_/b_/a_b_c"
31943195
]
31953196
);

0 commit comments

Comments
 (0)