瀏覽代碼

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…
取消
儲存