Fix suspicious places in vendor

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov
2015-06-16 09:59:40 -07:00
parent 6585cf0147
commit 76ed4ed758
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ clone git github.com/codegangsta/cli 1.1.0
clone git github.com/coreos/go-systemd v2
clone git github.com/godbus/dbus v2
clone git github.com/Sirupsen/logrus v0.7.3
clone git github.com/syndtr/gocapability 8e4cdcb
clone git github.com/syndtr/gocapability 66ef2aa
clone git github.com/golang/protobuf 655cdfa588ea
# intentionally not vendoring Docker itself... that'd be a circle :)
+1 -3
View File
@@ -1281,9 +1281,7 @@ func TestEnum(t *testing.T) {
// We don't care what the value actually is, just as long as it doesn't crash.
func TestPrintingNilEnumFields(t *testing.T) {
pb := new(GoEnum)
if fmt.Sprintf("%+v", pb) == "" {
t.Errorf("expected non-empty string")
}
fmt.Sprintf("%+v", pb)
}
// Verify that absent required fields cause Marshal/Unmarshal to return errors.