Parcourir la source

Don't print actual PATH in test output

pull/1898/head
Ivan Pozdeev il y a 5 ans
Parent
révision
b0b862ca64
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      test/exec.bats

+ 1
- 1
test/exec.bats Voir le fichier

@ -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;}'

Chargement…
Annuler
Enregistrer