This repository was archived by the owner on Dec 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
vendor/src/github.com/golang/protobuf/proto Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ validate() {
99 bash /go/src/github.com/docker/docker/hack/make/validate-dco
1010 bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
1111 go get golang.org/x/tools/cmd/vet
12- go vet github.com/docker/libcontainer/...
12+ bash /go/src/ github.com/docker/docker/hack/make/validate-vet
1313}
1414
1515# run validations
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ clone git github.com/codegangsta/cli 1.1.0
4444clone git github.com/coreos/go-systemd v2
4545clone git github.com/godbus/dbus v2
4646clone git github.com/Sirupsen/logrus v0.7.3
47- clone git github.com/syndtr/gocapability 8e4cdcb
47+ clone git github.com/syndtr/gocapability 66ef2aa
4848clone git github.com/golang/protobuf 655cdfa588ea
4949
5050# intentionally not vendoring Docker itself... that'd be a circle :)
Original file line number Diff line number Diff line change @@ -1281,9 +1281,7 @@ func TestEnum(t *testing.T) {
12811281// We don't care what the value actually is, just as long as it doesn't crash.
12821282func TestPrintingNilEnumFields (t * testing.T ) {
12831283 pb := new (GoEnum )
1284- if fmt .Sprintf ("%+v" , pb ) == "" {
1285- t .Errorf ("expected non-empty string" )
1286- }
1284+ fmt .Sprintf ("%+v" , pb )
12871285}
12881286
12891287// Verify that absent required fields cause Marshal/Unmarshal to return errors.
You can’t perform that action at this time.
0 commit comments