Skip to content

Commit

Permalink
Auto merge of #11983 - ehuss:beta-fix-not_found_permutations, r=weiha…
Browse files Browse the repository at this point in the history
…nglo

[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.
  • Loading branch information
bors committed Apr 17, 2023
2 parents 84b7041 + 9009251 commit 4d28f23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testsuite/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3183,13 +3183,14 @@ required by package `foo v0.0.1 ([ROOT]/foo)`
",
)
.run();
let misses = misses.lock().unwrap();
let mut misses = misses.lock().unwrap();
misses.sort();
assert_eq!(
&*misses,
&[
"/index/a-/b-/a-b-c",
"/index/a_/b-/a_b-c",
"/index/a-/b_/a-b_c",
"/index/a_/b-/a_b-c",
"/index/a_/b_/a_b_c"
]
);
Expand Down

0 comments on commit 4d28f23

Please sign in to comment.