diff --git a/test/test-gofmt.sh b/test/test-gofmt.sh index 92406777..a317a7db 100755 --- a/test/test-gofmt.sh +++ b/test/test-gofmt.sh @@ -9,7 +9,7 @@ ROOT=$(dirname "${BASH_SOURCE}")/.. GO_VERSION=($(go version)) -if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4') ]]; then +if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5') ]]; then echo "Unknown go version '${GO_VERSION}', skipping gofmt." exit 0 fi