mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-11 08:06:16 -04:00
fix integration test
This commit is contained in:
parent
37fb8a0925
commit
0b284c8d44
|
|
@ -137,7 +137,7 @@ hash -r 2>/dev/null || true"
|
|||
@test "sh-rehash in powershell (integration)" {
|
||||
command -v pwsh >/dev/null || skip "-- powershell not installed"
|
||||
create_alt_executable_in_version "3.4" "python"
|
||||
run pwsh -NoProfile -Command "iex (&pyenv-sh-rehash)"
|
||||
run pwsh -nop -c 'iex ((&pyenv-sh-rehash) -join "\`n")'
|
||||
assert_success
|
||||
assert [ -x "${PYENV_ROOT}/shims/python" ]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue