uv/crates/uv
Michał Górny c6af78d153
test: pip_list: Fix replacement pattern computation (#2237)
## Summary

Fix computing replacements pattern for pip_list tests to count
characters in the original directory string rather than the
regex::escape'd string. The latter yields incorrect results if the
workspace path contains characters such as `-` or `.`.

Fixes #2232

## Test Plan

`cargo test --test pip_list` in a directory named `uv-test` to provoke
the bug.
2024-03-06 08:32:07 -05:00
..
src Make Client optional in requirements-txt (#2229) 2024-03-06 05:49:09 +00:00
tests test: pip_list: Fix replacement pattern computation (#2237) 2024-03-06 08:32:07 -05:00
build.rs Add fs_err to disallowed_method in clippy.toml (#1950) 2024-02-26 14:15:07 +00:00
Cargo.toml Make Client optional in requirements-txt (#2229) 2024-03-06 05:49:09 +00:00