mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-08 08:11:55 +00:00
updating github.com/onsi/gomega to v1.5.0
This commit is contained in:
6
vendor/github.com/onsi/gomega/gstruct/keys.go
generated
vendored
6
vendor/github.com/onsi/gomega/gstruct/keys.go
generated
vendored
@@ -77,9 +77,9 @@ func (m *KeysMatcher) matchKeys(actual interface{}) (errs []error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
valValue := actualValue.MapIndex(keyValue)
|
||||
valInterface := actualValue.MapIndex(keyValue).Interface()
|
||||
|
||||
match, err := matcher.Match(valValue.Interface())
|
||||
match, err := matcher.Match(valInterface)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -88,7 +88,7 @@ func (m *KeysMatcher) matchKeys(actual interface{}) (errs []error) {
|
||||
if nesting, ok := matcher.(errorsutil.NestingMatcher); ok {
|
||||
return errorsutil.AggregateError(nesting.Failures())
|
||||
}
|
||||
return errors.New(matcher.FailureMessage(valValue))
|
||||
return errors.New(matcher.FailureMessage(valInterface))
|
||||
}
|
||||
return nil
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user