mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge rbenv's "Isolate rbenv-which tests …" (c69d9a11
)
This is the remaining part ofc69d9a1128
. commitc69d9a1128
Author: 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:
parent
bbf8cb4a95
commit
e82f943174
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ echo HELLO="\$(printf ":%s" "\${hellos[@]}")"
|
||||||
exit
|
exit
|
||||||
SH
|
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_success
|
||||||
assert_output "HELLO=:hello:ugly:world:again"
|
assert_output "HELLO=:hello:ugly:world:again"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue