mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -05:00
Merge rbenv's "Isolate rbenv-which tests …" (c69d9a11)
This is the remaining part ofc69d9a1128. commitc69d9a1128Author: Mislav Marohnić <mislav.marohnic@gmail.com> Date: Mon Oct 13 12:39:47 2014 +0200 Isolate rbenv-which tests from any `.ruby-version` file on the system Having a `.ruby-version` file in any of the parent directories of the local clone of rbenv could cause the test suite to fail because it wasn't expecting a local version to be set.
This commit is contained in:
@@ -96,7 +96,7 @@ echo HELLO="\$(printf ":%s" "\${hellos[@]}")"
|
||||
exit
|
||||
SH
|
||||
|
||||
PYENV_HOOK_PATH="$hook_path" IFS=$' \t\n' run pyenv-which anything
|
||||
PYENV_HOOK_PATH="$hook_path" IFS=$' \t\n' PYENV_VERSION=system run pyenv-which anything
|
||||
assert_success
|
||||
assert_output "HELLO=:hello:ugly:world:again"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user