Преглед изворни кода

Don't print actual PATH in test output

pull/1898/head
Ivan Pozdeev пре 5 година
родитељ
комит
b0b862ca64
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      test/exec.bats

+ 1
- 1
test/exec.bats Прегледај датотеку

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

Loading…
Откажи
Сачувај