Skip to content

Commit

Permalink
Fix activation script snapshot with alternate names
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 3, 2024
1 parent 20e3eb9 commit 6371351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 6371351

Please sign in to comment.