From 5989b119564f41c74f831f070477d01ff7c01532 Mon Sep 17 00:00:00 2001 From: Anton Antonov Date: Thu, 16 Jul 2020 13:12:01 +0300 Subject: [PATCH 1/2] Remove duplicate test --- test/goenv-whence.bats | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/goenv-whence.bats b/test/goenv-whence.bats index ee3c9cdf..6694c469 100644 --- a/test/goenv-whence.bats +++ b/test/goenv-whence.bats @@ -75,14 +75,3 @@ OUT OUT } -@test "fails when given filename argument is present but not executable in GOENV_ROOT/versions//bin/" { - create_executable "1.6.1" "go" - - chmod -x "${GOENV_ROOT}/versions/1.6.1/bin/go" - - run goenv-whence go - assert_failure - assert_output < Date: Thu, 16 Jul 2020 13:16:05 +0300 Subject: [PATCH 2/2] Set specific bats version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d3bec3b..95eca5cb 100644 --- a/Makefile +++ b/Makefile @@ -54,5 +54,5 @@ bats: if [ -d "$(PWD)/bats-core" ]; then echo "bats-core already exists. Nothing to do" ; else - git clone --depth 1 https://github.com/bats-core/bats-core.git ; + git clone --depth 1 --single-branch --branch=v1.1.0 https://github.com/bats-core/bats-core.git ; fi