mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Fix test for adding shims in fish
This commit is contained in:
parent
ed684c239c
commit
9aee57d965
1 changed files with 2 additions and 2 deletions
|
@ -71,11 +71,11 @@ load test_helper
|
||||||
assert_line 0 'export PATH="'${PYENV_ROOT}'/shims:${PATH}"'
|
assert_line 0 'export PATH="'${PYENV_ROOT}'/shims:${PATH}"'
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "doesn't add shims to PATH more than once (fish)" {
|
@test "can add shims to PATH more than once (fish)" {
|
||||||
export PATH="${PYENV_ROOT}/shims:$PATH"
|
export PATH="${PYENV_ROOT}/shims:$PATH"
|
||||||
run pyenv-init - fish
|
run pyenv-init - fish
|
||||||
assert_success
|
assert_success
|
||||||
refute_line 'setenv PATH "'${PYENV_ROOT}'/shims" $PATH ;'
|
assert_line 0 "setenv PATH '${PYENV_ROOT}/shims' \$PATH"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "outputs sh-compatible syntax" {
|
@test "outputs sh-compatible syntax" {
|
||||||
|
|
Loading…
Reference in a new issue