Fix unit tests
[govpp.git] / vendor / github.com / google / gopacket / .travis.gofmt.sh
1 #!/bin/bash
2
3 cd "$(dirname $0)"
4 if [ -n "$(go fmt ./...)" ]; then
5   echo "Go code is not formatted, run 'go fmt github.com/google/stenographer/...'" >&2
6   exit 1
7 fi