From bec978d0f67cfe5d7d36ffb0f3ff4076fb42833b Mon Sep 17 00:00:00 2001 From: "Yamashita, Yuu" Date: Tue, 28 Mar 2017 04:43:28 +0000 Subject: [PATCH] Workaround for CI failures with versions with multiple digits https://travis-ci.org/pyenv/pyenv/jobs/215777826 --- test/--version.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/--version.bats b/test/--version.bats index 254b957b..6e372c5d 100644 --- a/test/--version.bats +++ b/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 "?.?.* ]] }