Explorar o código

Merge pull request #3956 from mitake/test-gofmt

test: print diff with gofmt
Xiang Li %!s(int64=10) %!d(string=hai) anos
pai
achega
769f874542
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test

+ 1 - 1
test

@@ -61,7 +61,7 @@ if [ -n "$INTEGRATION" ]; then
 fi
 
 echo "Checking gofmt..."
-fmtRes=$(gofmt -l -s $FMT)
+fmtRes=$(gofmt -l -s -d $FMT)
 if [ -n "${fmtRes}" ]; then
 	echo -e "gofmt checking failed:\n${fmtRes}"
 	exit 255