ソースを参照

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

読み込み中…
キャンセル
保存