mirror of https://github.com/astral-sh/uv
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
|
|
@ -1449,13 +1449,13 @@ fn install_registry_source_dist_cached() -> Result<()> {
|
|||
|
||||
let filters: Vec<(&str, &str)> = if cfg!(windows) {
|
||||
// On Windows, the number of files removed is different.
|
||||
[("Removed 615 files", "Removed 616 files")]
|
||||
[("Removed 616 files", "Removed 617 files")]
|
||||
.into_iter()
|
||||
.chain(context.filters())
|
||||
.collect()
|
||||
} else {
|
||||
// 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()
|
||||
.chain(context.filters())
|
||||
.collect()
|
||||
|
|
|
|||
Loading…
Reference in New Issue