File tree 3 files changed +3
-5
lines changed
vendor/src/github.com/golang/protobuf/proto
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ validate() {
9
9
bash /go/src/github.com/docker/docker/hack/make/validate-dco
10
10
bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
11
11
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
13
13
}
14
14
15
15
# 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
44
44
clone git github.com/coreos/go-systemd v2
45
45
clone git github.com/godbus/dbus v2
46
46
clone git github.com/Sirupsen/logrus v0.7.3
47
- clone git github.com/syndtr/gocapability 8e4cdcb
47
+ clone git github.com/syndtr/gocapability 66ef2aa
48
48
clone git github.com/golang/protobuf 655cdfa588ea
49
49
50
50
# 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) {
1281
1281
// We don't care what the value actually is, just as long as it doesn't crash.
1282
1282
func TestPrintingNilEnumFields (t * testing.T ) {
1283
1283
pb := new (GoEnum )
1284
- if fmt .Sprintf ("%+v" , pb ) == "" {
1285
- t .Errorf ("expected non-empty string" )
1286
- }
1284
+ fmt .Sprintf ("%+v" , pb )
1287
1285
}
1288
1286
1289
1287
// Verify that absent required fields cause Marshal/Unmarshal to return errors.
You can’t perform that action at this time.
0 commit comments