mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 14:31:12 +00:00
Fix install_registry_source_dist_cached on Gentoo (#3569)
## Summary
Increment the removed file counts in filters
in install_registry_source_dist_cached test, to make it work again on
Gentoo. The tested counts were updated
in 9a92a3ad37
, but the filters were not.
That said, the respective count increased in Gentoo as well, so adjust
both input and output strings. I'm updating Windows as a guesswork,
though I suspect that filter may not be necessary anymore, given that CI
was passing.
## Test Plan
`cargo test` on Gentoo :-).
This commit is contained in:
parent
b20d5ad96f
commit
e64c337cc5
1 changed files with 2 additions and 2 deletions
|
@ -1449,13 +1449,13 @@ fn install_registry_source_dist_cached() -> Result<()> {
|
||||||
|
|
||||||
let filters: Vec<(&str, &str)> = if cfg!(windows) {
|
let filters: Vec<(&str, &str)> = if cfg!(windows) {
|
||||||
// On Windows, the number of files removed is different.
|
// On Windows, the number of files removed is different.
|
||||||
[("Removed 615 files", "Removed 616 files")]
|
[("Removed 616 files", "Removed 617 files")]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(context.filters())
|
.chain(context.filters())
|
||||||
.collect()
|
.collect()
|
||||||
} else {
|
} else {
|
||||||
// For some Linux distributions, like Gentoo, the number of files removed is different.
|
// For some Linux distributions, like Gentoo, the number of files removed is different.
|
||||||
[("Removed 614 files", "Removed 616 files")]
|
[("Removed 615 files", "Removed 617 files")]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(context.filters())
|
.chain(context.filters())
|
||||||
.collect()
|
.collect()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue