mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
Bump github.com/onsi/ginkgo from 1.10.1 to 1.10.3
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.10.1 to 1.10.3. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v1.10.1...v1.10.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
committed by
Valentin Rothberg
parent
2dae2577cc
commit
e22777c3fc
13
vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go
generated
vendored
13
vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go
generated
vendored
@@ -22,18 +22,15 @@ func (t TableEntry) generateIt(itBody reflect.Value) {
|
||||
return
|
||||
}
|
||||
|
||||
values := []reflect.Value{}
|
||||
values := make([]reflect.Value, len(t.Parameters))
|
||||
iBodyType := itBody.Type()
|
||||
for i, param := range t.Parameters {
|
||||
var value reflect.Value
|
||||
|
||||
if param == nil {
|
||||
inType := itBody.Type().In(i)
|
||||
value = reflect.Zero(inType)
|
||||
inType := iBodyType.In(i)
|
||||
values[i] = reflect.Zero(inType)
|
||||
} else {
|
||||
value = reflect.ValueOf(param)
|
||||
values[i] = reflect.ValueOf(param)
|
||||
}
|
||||
|
||||
values = append(values, value)
|
||||
}
|
||||
|
||||
body := func() {
|
||||
|
||||
Reference in New Issue
Block a user