mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Remove redundant test
Spaces in hook path is tested in test/hooks.bats
This commit is contained in:
parent
a95ccd09a2
commit
2cc2ec160e
1 changed files with 0 additions and 11 deletions
|
@ -43,17 +43,6 @@ ruby
|
|||
OUT
|
||||
}
|
||||
|
||||
@test "supports hook path with spaces" {
|
||||
hook_path="${RBENV_TEST_DIR}/custom stuff/rbenv hooks"
|
||||
mkdir -p "${hook_path}/exec"
|
||||
echo "export HELLO='from hook'" > "${hook_path}/exec/hello.bash"
|
||||
|
||||
export RBENV_VERSION=system
|
||||
RBENV_HOOK_PATH="$hook_path" run rbenv-exec env
|
||||
assert_success
|
||||
assert_line "HELLO=from hook"
|
||||
}
|
||||
|
||||
@test "carries original IFS within hooks" {
|
||||
hook_path="${RBENV_TEST_DIR}/rbenv.d"
|
||||
mkdir -p "${hook_path}/exec"
|
||||
|
|
Loading…
Reference in a new issue