mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
🌱 Bump github.com/onsi/gomega from 1.36.3 to 1.38.0 (#1114)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.3 to 1.38.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.38.0) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-version: 1.38.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
2
go.mod
2
go.mod
@@ -16,7 +16,7 @@ require (
|
||||
github.com/google/go-cmp v0.7.0
|
||||
github.com/mochi-mqtt/server/v2 v2.7.9
|
||||
github.com/onsi/ginkgo/v2 v2.23.4
|
||||
github.com/onsi/gomega v1.36.3
|
||||
github.com/onsi/gomega v1.38.0
|
||||
github.com/openshift/api v0.0.0-20250710004639-926605d3338b
|
||||
github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee
|
||||
github.com/openshift/library-go v0.0.0-20250711143941-47604345e7ea
|
||||
|
||||
4
go.sum
4
go.sum
@@ -254,8 +254,8 @@ github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
|
||||
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
|
||||
github.com/onsi/ginkgo/v2 v2.23.4 h1:ktYTpKJAVZnDT4VjxSbiBenUjmlL/5QkBEocaWXiQus=
|
||||
github.com/onsi/ginkgo/v2 v2.23.4/go.mod h1:Bt66ApGPBFzHyR+JO10Zbt0Gsp4uWxu5mIOTusL46e8=
|
||||
github.com/onsi/gomega v1.36.3 h1:hID7cr8t3Wp26+cYnfcjR6HpJ00fdogN6dqZ1t6IylU=
|
||||
github.com/onsi/gomega v1.36.3/go.mod h1:8D9+Txp43QWKhM24yyOBEdpkzN8FvJyAwecBgsU4KU0=
|
||||
github.com/onsi/gomega v1.38.0 h1:c/WX+w8SLAinvuKKQFh77WEucCnPk4j2OTUr7lt7BeY=
|
||||
github.com/onsi/gomega v1.38.0/go.mod h1:OcXcwId0b9QsE7Y49u+BTrL4IdKOBOKnD6VQNTJEB6o=
|
||||
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
||||
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
|
||||
github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=
|
||||
|
||||
24
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
24
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
@@ -1,3 +1,27 @@
|
||||
## 1.38.0
|
||||
|
||||
### Features
|
||||
- gstruct handles extra unexported fields [4ee7ed0]
|
||||
|
||||
### Fixes
|
||||
- support [] in IgnoringTopFunction function signatures (#851) [36bbf72]
|
||||
|
||||
### Maintenance
|
||||
- Bump golang.org/x/net from 0.40.0 to 0.41.0 (#846) [529d408]
|
||||
- Fix typo [acd1f55]
|
||||
- Bump google.golang.org/protobuf from 1.36.5 to 1.36.6 (#835) [bae65a0]
|
||||
- Bump nokogiri from 1.18.4 to 1.18.8 in /docs (#842) [8dda91f]
|
||||
- Bump golang.org/x/net from 0.39.0 to 0.40.0 (#843) [212d812]
|
||||
- Bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4 (#839) [59bd7f9]
|
||||
- Bump nokogiri from 1.18.1 to 1.18.4 in /docs (#834) [328c729]
|
||||
- Bump uri from 1.0.2 to 1.0.3 in /docs (#826) [9a798a1]
|
||||
- Bump golang.org/x/net from 0.37.0 to 0.39.0 (#841) [04a72c6]
|
||||
|
||||
## 1.37.0
|
||||
|
||||
### Features
|
||||
- add To/ToNot/NotTo aliases for AsyncAssertion [5666f98]
|
||||
|
||||
## 1.36.3
|
||||
|
||||
### Maintenance
|
||||
|
||||
4
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
4
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.38.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().
|
||||
@@ -178,7 +178,7 @@ func ensureDefaultGomegaIsConfigured() {
|
||||
// All subsequent arguments will be required to be nil/zero.
|
||||
//
|
||||
// This is convenient if you want to make an assertion on a method/function that returns
|
||||
// a value and an error - a common patter in Go.
|
||||
// a value and an error - a common pattern in Go.
|
||||
//
|
||||
// For example, given a function with signature:
|
||||
//
|
||||
|
||||
12
vendor/github.com/onsi/gomega/internal/async_assertion.go
generated
vendored
12
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
vendor/github.com/onsi/gomega/types/types.go
generated
vendored
5
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
|
||||
|
||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -407,7 +407,7 @@ github.com/onsi/ginkgo/v2/internal/parallel_support
|
||||
github.com/onsi/ginkgo/v2/internal/testingtproxy
|
||||
github.com/onsi/ginkgo/v2/reporters
|
||||
github.com/onsi/ginkgo/v2/types
|
||||
# github.com/onsi/gomega v1.36.3
|
||||
# github.com/onsi/gomega v1.38.0
|
||||
## explicit; go 1.23.0
|
||||
github.com/onsi/gomega
|
||||
github.com/onsi/gomega/format
|
||||
|
||||
Reference in New Issue
Block a user