mirror of
https://github.com/containers/podman.git
synced 2025-06-19 00:06:43 +08:00
Merge pull request #10483 from containers/dependabot/go_modules/github.com/onsi/gomega-1.13.0
Bump github.com/onsi/gomega from 1.12.0 to 1.13.0
This commit is contained in:
2
go.mod
2
go.mod
@ -43,7 +43,7 @@ require (
|
||||
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635
|
||||
github.com/mrunalp/fileutils v0.5.0
|
||||
github.com/onsi/ginkgo v1.16.2
|
||||
github.com/onsi/gomega v1.12.0
|
||||
github.com/onsi/gomega v1.13.0
|
||||
github.com/opencontainers/go-digest v1.0.0
|
||||
github.com/opencontainers/image-spec v1.0.2-0.20190823105129-775207bd45b6
|
||||
github.com/opencontainers/runc v1.0.0-rc95
|
||||
|
3
go.sum
3
go.sum
@ -656,8 +656,9 @@ github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7J
|
||||
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
|
||||
github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc=
|
||||
github.com/onsi/gomega v1.10.5/go.mod h1:gza4q3jKQJijlu05nKWRCW/GavJumGt8aNRxWg7mt48=
|
||||
github.com/onsi/gomega v1.12.0 h1:p4oGGk2M2UJc0wWN4lHFvIB71lxsh0T/UiKCCgFADY8=
|
||||
github.com/onsi/gomega v1.12.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY=
|
||||
github.com/onsi/gomega v1.13.0 h1:7lLHu94wT9Ij0o6EWWclhu0aOh32VxhkwEJvzuWPeak=
|
||||
github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY=
|
||||
github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
||||
github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
||||
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
||||
|
6
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
6
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
@ -1,3 +1,9 @@
|
||||
## 1.13.0
|
||||
|
||||
### Features
|
||||
- gmeasure provides BETA support for benchmarking (#447) [8f2dfbf]
|
||||
- Set consistently and eventually defaults on init (#443) [12eb778]
|
||||
|
||||
## 1.12.0
|
||||
|
||||
### Features
|
||||
|
40
vendor/github.com/onsi/gomega/env.go
generated
vendored
Normal file
40
vendor/github.com/onsi/gomega/env.go
generated
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
package gomega
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/onsi/gomega/internal/defaults"
|
||||
)
|
||||
|
||||
const (
|
||||
ConsistentlyDurationEnvVarName = "GOMEGA_DEFAULT_CONSISTENTLY_DURATION"
|
||||
ConsistentlyPollingIntervalEnvVarName = "GOMEGA_DEFAULT_CONSISTENTLY_POLLING_INTERVAL"
|
||||
EventuallyTimeoutEnvVarName = "GOMEGA_DEFAULT_EVENTUALLY_TIMEOUT"
|
||||
EventuallyPollingIntervalEnvVarName = "GOMEGA_DEFAULT_EVENTUALLY_POLLING_INTERVAL"
|
||||
)
|
||||
|
||||
func init() {
|
||||
defaults.SetDurationFromEnv(
|
||||
os.Getenv,
|
||||
SetDefaultConsistentlyDuration,
|
||||
ConsistentlyDurationEnvVarName,
|
||||
)
|
||||
|
||||
defaults.SetDurationFromEnv(
|
||||
os.Getenv,
|
||||
SetDefaultConsistentlyPollingInterval,
|
||||
ConsistentlyPollingIntervalEnvVarName,
|
||||
)
|
||||
|
||||
defaults.SetDurationFromEnv(
|
||||
os.Getenv,
|
||||
SetDefaultEventuallyTimeout,
|
||||
EventuallyTimeoutEnvVarName,
|
||||
)
|
||||
|
||||
defaults.SetDurationFromEnv(
|
||||
os.Getenv,
|
||||
SetDefaultEventuallyPollingInterval,
|
||||
EventuallyPollingIntervalEnvVarName,
|
||||
)
|
||||
}
|
2
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
2
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
@ -24,7 +24,7 @@ import (
|
||||
"github.com/onsi/gomega/types"
|
||||
)
|
||||
|
||||
const GOMEGA_VERSION = "1.12.0"
|
||||
const GOMEGA_VERSION = "1.13.0"
|
||||
|
||||
const nilFailHandlerPanic = `You are trying to make an assertion, but Gomega's fail handler is nil.
|
||||
If you're using Ginkgo then you probably forgot to put your assertion in an It().
|
||||
|
22
vendor/github.com/onsi/gomega/internal/defaults/env.go
generated
vendored
Normal file
22
vendor/github.com/onsi/gomega/internal/defaults/env.go
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
package defaults
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func SetDurationFromEnv(getDurationFromEnv func(string) string, varSetter func(time.Duration), name string) {
|
||||
durationFromEnv := getDurationFromEnv(name)
|
||||
|
||||
if len(durationFromEnv) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
duration, err := time.ParseDuration(durationFromEnv)
|
||||
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("Expected a duration when using %s! Parse error %v", name, err))
|
||||
}
|
||||
|
||||
varSetter(duration)
|
||||
}
|
3
vendor/modules.txt
vendored
3
vendor/modules.txt
vendored
@ -476,13 +476,14 @@ github.com/onsi/ginkgo/reporters/stenographer
|
||||
github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable
|
||||
github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty
|
||||
github.com/onsi/ginkgo/types
|
||||
# github.com/onsi/gomega v1.12.0
|
||||
# github.com/onsi/gomega v1.13.0
|
||||
github.com/onsi/gomega
|
||||
github.com/onsi/gomega/format
|
||||
github.com/onsi/gomega/gbytes
|
||||
github.com/onsi/gomega/gexec
|
||||
github.com/onsi/gomega/internal/assertion
|
||||
github.com/onsi/gomega/internal/asyncassertion
|
||||
github.com/onsi/gomega/internal/defaults
|
||||
github.com/onsi/gomega/internal/oraclematcher
|
||||
github.com/onsi/gomega/internal/testingtsupport
|
||||
github.com/onsi/gomega/matchers
|
||||
|
Reference in New Issue
Block a user