Skip to content

Commit 76ed4ed

Browse files
committed
Fix suspicious places in vendor
Signed-off-by: Alexander Morozov <[email protected]>
1 parent 6585cf0 commit 76ed4ed

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

update-vendor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ clone git github.com/codegangsta/cli 1.1.0
4444
clone git github.com/coreos/go-systemd v2
4545
clone git github.com/godbus/dbus v2
4646
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
4848
clone git github.com/golang/protobuf 655cdfa588ea
4949

5050
# intentionally not vendoring Docker itself... that'd be a circle :)

vendor/src/github.com/golang/protobuf/proto/all_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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.
12821282
func 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.

0 commit comments

Comments
 (0)