mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
rebase: bump the github-dependencies group in /e2e with 2 updates
Bumps the github-dependencies group in /e2e with 2 updates: [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) and [github.com/onsi/gomega](https://github.com/onsi/gomega). Updates `github.com/onsi/ginkgo/v2` from 2.23.3 to 2.23.4 - [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/v2.23.3...v2.23.4) Updates `github.com/onsi/gomega` from 1.36.3 to 1.37.0 - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.36.3...v1.37.0) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.23.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies - dependency-name: github.com/onsi/gomega dependency-version: 1.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
215280749b
commit
25c9c11d23
5
e2e/vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
5
e2e/vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
@ -1,3 +1,8 @@
|
||||
## 1.37.0
|
||||
|
||||
### Features
|
||||
- add To/ToNot/NotTo aliases for AsyncAssertion [5666f98]
|
||||
|
||||
## 1.36.3
|
||||
|
||||
### Maintenance
|
||||
|
2
e2e/vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
2
e2e/vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
@ -22,7 +22,7 @@ import (
|
||||
"github.com/onsi/gomega/types"
|
||||
)
|
||||
|
||||
const GOMEGA_VERSION = "1.36.3"
|
||||
const GOMEGA_VERSION = "1.37.0"
|
||||
|
||||
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().
|
||||
|
12
e2e/vendor/github.com/onsi/gomega/internal/async_assertion.go
generated
vendored
12
e2e/vendor/github.com/onsi/gomega/internal/async_assertion.go
generated
vendored
@ -145,12 +145,24 @@ func (assertion *AsyncAssertion) Should(matcher types.GomegaMatcher, optionalDes
|
||||
return assertion.match(matcher, true, optionalDescription...)
|
||||
}
|
||||
|
||||
func (assertion *AsyncAssertion) To(matcher types.GomegaMatcher, optionalDescription ...any) bool {
|
||||
return assertion.Should(matcher, optionalDescription...)
|
||||
}
|
||||
|
||||
func (assertion *AsyncAssertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...any) bool {
|
||||
assertion.g.THelper()
|
||||
vetOptionalDescription("Asynchronous assertion", optionalDescription...)
|
||||
return assertion.match(matcher, false, optionalDescription...)
|
||||
}
|
||||
|
||||
func (assertion *AsyncAssertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...any) bool {
|
||||
return assertion.ShouldNot(matcher, optionalDescription...)
|
||||
}
|
||||
|
||||
func (assertion *AsyncAssertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...any) bool {
|
||||
return assertion.ShouldNot(matcher, optionalDescription...)
|
||||
}
|
||||
|
||||
func (assertion *AsyncAssertion) buildDescription(optionalDescription ...any) string {
|
||||
switch len(optionalDescription) {
|
||||
case 0:
|
||||
|
5
e2e/vendor/github.com/onsi/gomega/types/types.go
generated
vendored
5
e2e/vendor/github.com/onsi/gomega/types/types.go
generated
vendored
@ -70,6 +70,11 @@ type AsyncAssertion interface {
|
||||
Should(matcher GomegaMatcher, optionalDescription ...any) bool
|
||||
ShouldNot(matcher GomegaMatcher, optionalDescription ...any) bool
|
||||
|
||||
// equivalent to above
|
||||
To(matcher GomegaMatcher, optionalDescription ...any) bool
|
||||
ToNot(matcher GomegaMatcher, optionalDescription ...any) bool
|
||||
NotTo(matcher GomegaMatcher, optionalDescription ...any) bool
|
||||
|
||||
WithOffset(offset int) AsyncAssertion
|
||||
WithTimeout(interval time.Duration) AsyncAssertion
|
||||
WithPolling(interval time.Duration) AsyncAssertion
|
||||
|
Reference in New Issue
Block a user