Browse Source

Merge pull request #3956 from mitake/test-gofmt

test: print diff with gofmt
Xiang Li 10 years ago
parent
commit
769f874542
1 changed files with 1 additions and 1 deletions
  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