Ver código fonte

Don't print actual PATH in test output

pull/1898/head
Ivan Pozdeev 5 anos atrás
pai
commit
b0b862ca64
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      test/exec.bats

+ 1
- 1
test/exec.bats Ver arquivo

@ -90,7 +90,7 @@ OUT
assert_success "${system_python}"
}
@test '$PATH is not modified with system Python' {
@test 'PATH is not modified with system Python' {
# Create a wrapper executable that verifies PATH.
PYENV_VERSION="custom"
create_executable "python" '[[ "$PATH" == "${PYENV_TEST_DIR}/root/versions/custom/bin:"* ]] || { echo "unexpected:$PATH"; exit 2;}'

Carregando…
Cancelar
Salvar