Merge pull request #723 from kubernetes-csi/dependabot/go_modules/github.com/onsi/gomega-1.34.0
chore(deps): bump github.com/onsi/gomega from 1.33.1 to 1.34.0
This commit is contained in:
commit
e77a38a09c
2
go.mod
2
go.mod
@ -6,7 +6,7 @@ require (
|
|||||||
github.com/container-storage-interface/spec v1.8.0
|
github.com/container-storage-interface/spec v1.8.0
|
||||||
github.com/kubernetes-csi/csi-lib-utils v0.9.0
|
github.com/kubernetes-csi/csi-lib-utils v0.9.0
|
||||||
github.com/onsi/ginkgo/v2 v2.19.0
|
github.com/onsi/ginkgo/v2 v2.19.0
|
||||||
github.com/onsi/gomega v1.33.1
|
github.com/onsi/gomega v1.34.0
|
||||||
github.com/pborman/uuid v1.2.1
|
github.com/pborman/uuid v1.2.1
|
||||||
github.com/stretchr/testify v1.9.0
|
github.com/stretchr/testify v1.9.0
|
||||||
golang.org/x/net v0.27.0
|
golang.org/x/net v0.27.0
|
||||||
|
|||||||
4
go.sum
4
go.sum
@ -292,8 +292,8 @@ github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA
|
|||||||
github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
|
github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
|
||||||
github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
|
github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
|
||||||
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
|
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
|
||||||
github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
|
github.com/onsi/gomega v1.34.0 h1:eSSPsPNp6ZpsG8X1OVmOTxig+CblTc4AxpPBykhe2Os=
|
||||||
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
|
github.com/onsi/gomega v1.34.0/go.mod h1:MIKI8c+f+QLWk+hxbePD4i0LMJSExPaZOVfkoex4cAo=
|
||||||
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
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/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
|
||||||
github.com/opencontainers/selinux v1.10.0 h1:rAiKF8hTcgLI3w0DHm6i0ylVVcOrlgR1kK99DRLDhyU=
|
github.com/opencontainers/selinux v1.10.0 h1:rAiKF8hTcgLI3w0DHm6i0ylVVcOrlgR1kK99DRLDhyU=
|
||||||
|
|||||||
17
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
17
vendor/github.com/onsi/gomega/CHANGELOG.md
generated
vendored
@ -1,3 +1,20 @@
|
|||||||
|
## 1.34.0
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Add RoundTripper method to ghttp.Server [c549e0d]
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- fix incorrect handling of nil slices in HaveExactElements (fixes #771) [878940c]
|
||||||
|
- issue_765 - fixed bug in Hopcroft-Karp algorithm [ebadb67]
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
- bump ginkgo [8af2ece]
|
||||||
|
- Fix typo in docs [123a071]
|
||||||
|
- Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 (#756) [0e69083]
|
||||||
|
- Bump google.golang.org/protobuf from 1.33.0 to 1.34.1 (#755) [2675796]
|
||||||
|
- Bump golang.org/x/net from 0.24.0 to 0.25.0 (#754) [4160c0f]
|
||||||
|
- Bump github-pages from 230 to 231 in /docs (#748) [892c303]
|
||||||
|
|
||||||
## 1.33.1
|
## 1.33.1
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|||||||
2
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
2
vendor/github.com/onsi/gomega/gomega_dsl.go
generated
vendored
@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/onsi/gomega/types"
|
"github.com/onsi/gomega/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const GOMEGA_VERSION = "1.33.1"
|
const GOMEGA_VERSION = "1.34.0"
|
||||||
|
|
||||||
const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler.
|
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().
|
If you're using Ginkgo then you probably forgot to put your assertion in an It().
|
||||||
|
|||||||
7
vendor/github.com/onsi/gomega/matchers/have_exact_elements.go
generated
vendored
7
vendor/github.com/onsi/gomega/matchers/have_exact_elements.go
generated
vendored
@ -30,15 +30,18 @@ func (matcher *HaveExactElementsMatcher) Match(actual interface{}) (success bool
|
|||||||
|
|
||||||
lenMatchers := len(matchers)
|
lenMatchers := len(matchers)
|
||||||
lenValues := len(values)
|
lenValues := len(values)
|
||||||
|
success = true
|
||||||
|
|
||||||
for i := 0; i < lenMatchers || i < lenValues; i++ {
|
for i := 0; i < lenMatchers || i < lenValues; i++ {
|
||||||
if i >= lenMatchers {
|
if i >= lenMatchers {
|
||||||
matcher.extraIndex = i
|
matcher.extraIndex = i
|
||||||
|
success = false
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if i >= lenValues {
|
if i >= lenValues {
|
||||||
matcher.missingIndex = i
|
matcher.missingIndex = i
|
||||||
|
success = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,15 +52,17 @@ func (matcher *HaveExactElementsMatcher) Match(actual interface{}) (success bool
|
|||||||
index: i,
|
index: i,
|
||||||
failure: err.Error(),
|
failure: err.Error(),
|
||||||
})
|
})
|
||||||
|
success = false
|
||||||
} else if !match {
|
} else if !match {
|
||||||
matcher.mismatchFailures = append(matcher.mismatchFailures, mismatchFailure{
|
matcher.mismatchFailures = append(matcher.mismatchFailures, mismatchFailure{
|
||||||
index: i,
|
index: i,
|
||||||
failure: elemMatcher.FailureMessage(values[i]),
|
failure: elemMatcher.FailureMessage(values[i]),
|
||||||
})
|
})
|
||||||
|
success = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return matcher.missingIndex+matcher.extraIndex+len(matcher.mismatchFailures) == 0, nil
|
return success, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (matcher *HaveExactElementsMatcher) FailureMessage(actual interface{}) (message string) {
|
func (matcher *HaveExactElementsMatcher) FailureMessage(actual interface{}) (message string) {
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
package bipartitegraph
|
package bipartitegraph
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"slices"
|
||||||
|
|
||||||
. "github.com/onsi/gomega/matchers/support/goraph/edge"
|
. "github.com/onsi/gomega/matchers/support/goraph/edge"
|
||||||
. "github.com/onsi/gomega/matchers/support/goraph/node"
|
. "github.com/onsi/gomega/matchers/support/goraph/node"
|
||||||
"github.com/onsi/gomega/matchers/support/goraph/util"
|
"github.com/onsi/gomega/matchers/support/goraph/util"
|
||||||
@ -157,6 +159,11 @@ func (bg *BipartiteGraph) createSLAPGuideLayers(matching EdgeSet) (guideLayers [
|
|||||||
if len(currentLayer) == 0 {
|
if len(currentLayer) == 0 {
|
||||||
return []NodeOrderedSet{}
|
return []NodeOrderedSet{}
|
||||||
}
|
}
|
||||||
|
if done { // if last layer - into last layer must be only 'free' nodes
|
||||||
|
currentLayer = slices.DeleteFunc(currentLayer, func(in Node) bool {
|
||||||
|
return !matching.Free(in)
|
||||||
|
})
|
||||||
|
}
|
||||||
guideLayers = append(guideLayers, currentLayer)
|
guideLayers = append(guideLayers, currentLayer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -201,7 +201,7 @@ github.com/onsi/ginkgo/v2/internal/parallel_support
|
|||||||
github.com/onsi/ginkgo/v2/internal/testingtproxy
|
github.com/onsi/ginkgo/v2/internal/testingtproxy
|
||||||
github.com/onsi/ginkgo/v2/reporters
|
github.com/onsi/ginkgo/v2/reporters
|
||||||
github.com/onsi/ginkgo/v2/types
|
github.com/onsi/ginkgo/v2/types
|
||||||
# github.com/onsi/gomega v1.33.1
|
# github.com/onsi/gomega v1.34.0
|
||||||
## explicit; go 1.20
|
## explicit; go 1.20
|
||||||
github.com/onsi/gomega
|
github.com/onsi/gomega
|
||||||
github.com/onsi/gomega/format
|
github.com/onsi/gomega/format
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user