mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 23:56:17 -04:00
use 'pwsh' for uniformity
This commit is contained in:
parent
61b2726098
commit
de9fa19796
|
|
@ -128,14 +128,14 @@ hash -r 2>/dev/null || true"
|
|||
assert [ -x "${PYENV_ROOT}/shims/python" ]
|
||||
}
|
||||
|
||||
@test "sh-rehash in powershell" {
|
||||
@test "sh-rehash in pwsh" {
|
||||
create_executable "3.4" "python"
|
||||
PYENV_SHELL=pwsh run pyenv-sh-rehash
|
||||
assert_success "&pyenv rehash"
|
||||
}
|
||||
|
||||
@test "sh-rehash in powershell (integration)" {
|
||||
command -v pwsh >/dev/null || skip "-- powershell not installed"
|
||||
@test "sh-rehash in pwsh (integration)" {
|
||||
command -v pwsh >/dev/null || skip "-- pwsh not installed"
|
||||
create_alt_executable_in_version "3.4" "python"
|
||||
PYENV_SHELL=pwsh run pwsh -nop -c 'iex ((&pyenv-sh-rehash) -join "\`n")'
|
||||
assert_success
|
||||
|
|
|
|||
Loading…
Reference in a new issue