Skip to content

Commit

Permalink
Merge pull request #6988 from ipfs/chore/macos_sharness_fixes
Browse files Browse the repository at this point in the history
Chore/macos sharness fixes
  • Loading branch information
Stebalien authored Mar 12, 2020
2 parents 755d359 + 7b65c07 commit fe83c19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/test-go-fmt
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
2 changes: 1 addition & 1 deletion mk/golang.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# golang utilities
GO_MIN_VERSION = 1.13
GO_MIN_VERSION = 1.14
export GO111MODULE=on


Expand Down
2 changes: 1 addition & 1 deletion test/sharness/t0001-tests-work.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fe83c19

Please sign in to comment.