Skip to content

Commit

Permalink
Fix: snapshot tests failed in Win env
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeleppane committed Sep 18, 2024
1 parent 9ab15a7 commit 873a31f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/uv/tests/tool_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ fn tool_run_python_should_exit_successfully() {
.arg("python")
.env("UV_TOOL_DIR", tool_dir.as_os_str())
.env("XDG_BIN_HOME", bin_dir.as_os_str()), @r###"
success: true
success: true
exit_code: 0
----- stdout -----
Expand Down Expand Up @@ -1214,12 +1214,12 @@ fn tool_run_python_should_return_error_if_interpreter_version_cannot_be_found()
.arg("[email protected]")
.env("UV_TOOL_DIR", tool_dir.as_os_str())
.env("XDG_BIN_HOME", bin_dir.as_os_str()), @r###"
success: false
success: false
exit_code: 2
----- stdout -----
----- stderr -----
error: No interpreter found for Python 3.12.[X] in virtual environments or system path or `py` launcher
error: No interpreter found for Python 3.12.[X] in virtual environments, system path, or `py` launcher
"###);
}
}
Expand Down

0 comments on commit 873a31f

Please sign in to comment.