mirror of
https://github.com/containers/podman.git
synced 2025-12-05 04:40:47 +08:00
fix(deps): update module github.com/onsi/gomega to v1.35.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
5
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
5
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
@@ -1,3 +1,8 @@
|
||||
## 1.35.1
|
||||
|
||||
### Fixes
|
||||
- Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTimeoutsWhenUsingContext [ca36da1]
|
||||
|
||||
## 1.35.0
|
||||
|
||||
### Features
|
||||
|
||||
12
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
12
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
@@ -22,7 +22,7 @@ import (
|
||||
"github.com/onsi/gomega/types"
|
||||
)
|
||||
|
||||
const GOMEGA_VERSION = "1.35.0"
|
||||
const GOMEGA_VERSION = "1.35.1"
|
||||
|
||||
const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler.
|
||||
If you're using Ginkgo then you probably forgot to put your assertion in an It().
|
||||
@@ -503,6 +503,16 @@ func SetDefaultConsistentlyPollingInterval(t time.Duration) {
|
||||
Default.SetDefaultConsistentlyPollingInterval(t)
|
||||
}
|
||||
|
||||
// EnforceDefaultTimeoutsWhenUsingContexts forces `Eventually` to apply a default timeout even when a context is provided.
|
||||
func EnforceDefaultTimeoutsWhenUsingContexts() {
|
||||
Default.EnforceDefaultTimeoutsWhenUsingContexts()
|
||||
}
|
||||
|
||||
// DisableDefaultTimeoutsWhenUsingContext disables the default timeout when a context is provided to `Eventually`.
|
||||
func DisableDefaultTimeoutsWhenUsingContext() {
|
||||
Default.DisableDefaultTimeoutsWhenUsingContext()
|
||||
}
|
||||
|
||||
// AsyncAssertion is returned by Eventually and Consistently and polls the actual value passed into Eventually against
|
||||
// the matcher passed to the Should and ShouldNot methods.
|
||||
//
|
||||
|
||||
2
vendor/github.com/onsi/gomega/types/types.go
generated
vendored
2
vendor/github.com/onsi/gomega/types/types.go
generated
vendored
@@ -29,6 +29,8 @@ type Gomega interface {
|
||||
SetDefaultEventuallyPollingInterval(time.Duration)
|
||||
SetDefaultConsistentlyDuration(time.Duration)
|
||||
SetDefaultConsistentlyPollingInterval(time.Duration)
|
||||
EnforceDefaultTimeoutsWhenUsingContexts()
|
||||
DisableDefaultTimeoutsWhenUsingContext()
|
||||
}
|
||||
|
||||
// All Gomega matchers must implement the GomegaMatcher interface
|
||||
|
||||
Reference in New Issue
Block a user