From 0b284c8d442b0285aa5cffc8d5658c32abb5bea9 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sat, 20 Dec 2025 20:57:09 +0300 Subject: [PATCH] fix integration test --- test/rehash.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rehash.bats b/test/rehash.bats index 7d5fe35f..7ebbf4cd 100755 --- a/test/rehash.bats +++ b/test/rehash.bats @@ -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" ] }