瀏覽代碼

Workaround for CI failures with versions with multiple digits

https://travis-ci.org/pyenv/pyenv/jobs/215777826
pull/884/head
Yamashita, Yuu 7 年之前
父節點
當前提交
bec978d0f6
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      test/--version.bats

+ 3
- 3
test/--version.bats 查看文件

@ -19,7 +19,7 @@ git_commit() {
assert [ ! -e "$PYENV_ROOT" ]
run pyenv---version
assert_success
[[ $output == "pyenv "?.?.? ]]
[[ $output == "pyenv "?.?.* ]]
}
@test "doesn't read version from non-pyenv repo" {
@ -30,7 +30,7 @@ git_commit() {
run pyenv---version
assert_success
[[ $output == "pyenv "?.?.? ]]
[[ $output == "pyenv "?.?.* ]]
}
@test "reads version from git repo" {
@ -51,5 +51,5 @@ git_commit() {
git_commit
run pyenv---version
[[ $output == "pyenv "?.?.? ]]
[[ $output == "pyenv "?.?.* ]]
}

Loading…
取消
儲存