diff --git a/test/shell.bats b/test/shell.bats index 553b9b01..e20df561 100644 --- a/test/shell.bats +++ b/test/shell.bats @@ -51,7 +51,7 @@ load test_helper @test "shell revert (pwsh)" { PYENV_SHELL=pwsh run pyenv-sh-shell - assert_success - assert_line 0 'if set -q PYENV_VERSION_OLD' + assert_line 0 'if ( Get-Item -Path Env:\PYENV_VERSION* ) {' } @test "shell unset" {