diff --git a/crates/uv/tests/common/mod.rs b/crates/uv/tests/common/mod.rs index b948797eb5e2..4316658411b5 100644 --- a/crates/uv/tests/common/mod.rs +++ b/crates/uv/tests/common/mod.rs @@ -335,8 +335,8 @@ impl TestContext { // Make virtual environment activation cross-platform and shell-agnostic filters.push(( - r"Activate with: (?:.*)\\Scripts\\activate".to_string(), - "Activate with: source .venv/bin/activate".to_string(), + r"Activate with: (.*)\\Scripts\\activate".to_string(), + "Activate with: source $1/bin/activate".to_string(), )); filters.push(( r"Activate with: source .venv/bin/activate(?:\.\w+)".to_string(),