uv
c6af78d1 - test: pip_list: Fix replacement pattern computation (#2237)

Commit
1 year ago
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.
Author
Parents
Loading