From f686ae4b7c9ba6017acec7e20ed3883b7f4d4ccc Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 18 Oct 2018 15:24:17 -0400 Subject: [PATCH] ugh bash --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 8072e8e45cc..d8a5da8a468 100755 --- a/test.sh +++ b/test.sh @@ -113,7 +113,7 @@ if [[ "$RUN" =~ "fmt" ]] ; then check_gofmt() { # NOTE(@cpu): Go 1.10.3's gofmt and Go 1.11's gofmt don't agree. Let's # temporarily ignore the gofmt check when not using Go 1.11 - if [ "$TRAVIS_GO_VERSION" == "1.10.3" ]; then + if [ "$TRAVIS_GO_VERSION" != "1.11.1" ]; then return 0 fi unformatted=$(find . -name "*.go" -not -path "./vendor/*" -print | xargs -n1 gofmt -l)