Fix Ginkgo entries in Godeps.json. (#29402)
This commit is contained in:
13
vendor/github.com/onsi/gomega/format/format.go
generated
vendored
13
vendor/github.com/onsi/gomega/format/format.go
generated
vendored
@@ -261,16 +261,3 @@ func isNilValue(a reflect.Value) bool {
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func isNil(a interface{}) bool {
|
||||
if a == nil {
|
||||
return true
|
||||
}
|
||||
|
||||
switch reflect.TypeOf(a).Kind() {
|
||||
case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
|
||||
return reflect.ValueOf(a).IsNil()
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user