Merge pull request #6988 from ipfs/chore/macos_sharness_fixes

Chore/macos sharness fixes
This commit is contained in:
Steven Allen 2020-03-11 21:58:39 -07:00 committed by GitHub
commit fe83c19cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
T="$(mktemp)"
find . -name '*.go' | xargs gofmt -l > "$T"
find . -name '*.go' '!' -path ./plugin/loader/preload.go | xargs gofmt -l > "$T"
if [ -n "$(cat $T)" ]; then
echo "Following Go code is not formatted."

View File

@ -1,5 +1,5 @@
# golang utilities
GO_MIN_VERSION = 1.13
GO_MIN_VERSION = 1.14
export GO111MODULE=on

View File

@ -10,7 +10,7 @@ for file in $(find .. -maxdepth 1 -name 't*.sh' -type f); do
'
test_expect_success "test in $file has a description" '
test_must_fail grep -L "^test_description=" "$file"
grep -q "^test_description=" "$file"
'
# We have some tests that manually kill.