Ver a proveniência

Fix tests failing if plugins are installed

Drop the failing test in favor of a better-written test
that also tests the same
pull/3022/head
Ivan Pozdeev há 2 meses
ascendente
cometimento
cbba86a829
1 ficheiros alterados com 1 adições e 6 eliminações
  1. +1
    -6
      test/pyenv.bats

+ 1
- 6
test/pyenv.bats Ver ficheiro

@ -46,12 +46,7 @@ load test_helper
assert_output "pyenv: cannot change working directory to \`$dir'"
}
@test "adds its own libexec to PATH" {
run pyenv echo "PATH"
assert_success "${BATS_TEST_DIRNAME%/*}/libexec:${BATS_TEST_DIRNAME%/*}/plugins/python-build/bin:$PATH"
}
@test "adds plugin bin dirs to PATH" {
@test "adds its own libexec and plugin bin dirs to PATH" {
mkdir -p "$PYENV_ROOT"/plugins/python-build/bin
mkdir -p "$PYENV_ROOT"/plugins/pyenv-each/bin
run pyenv echo -F: "PATH"

Carregando…
Cancelar
Guardar