mirror of
https://github.com/containers/podman.git
synced 2025-12-01 02:27:13 +08:00
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.13.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ go 1.18
|
|||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.3
|
github.com/cpuguy83/go-md2man/v2 v2.0.3
|
||||||
github.com/onsi/ginkgo/v2 v2.13.1
|
github.com/onsi/ginkgo/v2 v2.13.2
|
||||||
github.com/vbatts/git-validation v1.2.1
|
github.com/vbatts/git-validation v1.2.1
|
||||||
golang.org/x/tools v0.16.0
|
golang.org/x/tools v0.16.0
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk
|
|||||||
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||||
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
|
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
|
||||||
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||||
github.com/onsi/ginkgo/v2 v2.13.1 h1:LNGfMbR2OVGBfXjvRZIZ2YCTQdGKtPLvuI1rMCCj3OU=
|
github.com/onsi/ginkgo/v2 v2.13.2 h1:Bi2gGVkfn6gQcjNjZJVO8Gf0FHzMPf2phUei9tejVMs=
|
||||||
github.com/onsi/ginkgo/v2 v2.13.1/go.mod h1:XStQ8QcGwLyF4HdfcZB8SFOS/MWCgDuXMSBe6zrvLgM=
|
github.com/onsi/ginkgo/v2 v2.13.2/go.mod h1:XStQ8QcGwLyF4HdfcZB8SFOS/MWCgDuXMSBe6zrvLgM=
|
||||||
github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg=
|
github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg=
|
||||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
|
|||||||
6
test/tools/vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/test_suite.go
generated
vendored
6
test/tools/vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/test_suite.go
generated
vendored
@@ -226,7 +226,7 @@ func suitesInDir(dir string, recurse bool) TestSuites {
|
|||||||
files, _ := os.ReadDir(dir)
|
files, _ := os.ReadDir(dir)
|
||||||
re := regexp.MustCompile(`^[^._].*_test\.go$`)
|
re := regexp.MustCompile(`^[^._].*_test\.go$`)
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
if !file.IsDir() && re.Match([]byte(file.Name())) {
|
if !file.IsDir() && re.MatchString(file.Name()) {
|
||||||
suite := TestSuite{
|
suite := TestSuite{
|
||||||
Path: relPath(dir),
|
Path: relPath(dir),
|
||||||
PackageName: packageNameForSuite(dir),
|
PackageName: packageNameForSuite(dir),
|
||||||
@@ -241,7 +241,7 @@ func suitesInDir(dir string, recurse bool) TestSuites {
|
|||||||
if recurse {
|
if recurse {
|
||||||
re = regexp.MustCompile(`^[._]`)
|
re = regexp.MustCompile(`^[._]`)
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
if file.IsDir() && !re.Match([]byte(file.Name())) {
|
if file.IsDir() && !re.MatchString(file.Name()) {
|
||||||
suites = append(suites, suitesInDir(dir+"/"+file.Name(), recurse)...)
|
suites = append(suites, suitesInDir(dir+"/"+file.Name(), recurse)...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -272,7 +272,7 @@ func filesHaveGinkgoSuite(dir string, files []os.DirEntry) bool {
|
|||||||
reGinkgo := regexp.MustCompile(`package ginkgo|\/ginkgo"|\/ginkgo\/v2"|\/ginkgo\/v2/dsl/`)
|
reGinkgo := regexp.MustCompile(`package ginkgo|\/ginkgo"|\/ginkgo\/v2"|\/ginkgo\/v2/dsl/`)
|
||||||
|
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
if !file.IsDir() && reTestFile.Match([]byte(file.Name())) {
|
if !file.IsDir() && reTestFile.MatchString(file.Name()) {
|
||||||
contents, _ := os.ReadFile(dir + "/" + file.Name())
|
contents, _ := os.ReadFile(dir + "/" + file.Name())
|
||||||
if reGinkgo.Match(contents) {
|
if reGinkgo.Match(contents) {
|
||||||
return true
|
return true
|
||||||
|
|||||||
2
test/tools/vendor/github.com/onsi/ginkgo/v2/ginkgo/watch/dependencies.go
generated
vendored
2
test/tools/vendor/github.com/onsi/ginkgo/v2/ginkgo/watch/dependencies.go
generated
vendored
@@ -78,7 +78,7 @@ func (d Dependencies) resolveAndAdd(deps []string, depth int) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if !pkg.Goroot && (!ginkgoAndGomegaFilter.Match([]byte(pkg.Dir)) || ginkgoIntegrationTestFilter.Match([]byte(pkg.Dir))) {
|
if !pkg.Goroot && (!ginkgoAndGomegaFilter.MatchString(pkg.Dir) || ginkgoIntegrationTestFilter.MatchString(pkg.Dir)) {
|
||||||
d.addDepIfNotPresent(pkg.Dir, depth)
|
d.addDepIfNotPresent(pkg.Dir, depth)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4
test/tools/vendor/github.com/onsi/ginkgo/v2/ginkgo/watch/package_hash.go
generated
vendored
4
test/tools/vendor/github.com/onsi/ginkgo/v2/ginkgo/watch/package_hash.go
generated
vendored
@@ -79,7 +79,7 @@ func (p *PackageHash) computeHashes() (codeHash string, codeModifiedTime time.Ti
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if goTestRegExp.Match([]byte(info.Name())) {
|
if goTestRegExp.MatchString(info.Name()) {
|
||||||
testHash += p.hashForFileInfo(info)
|
testHash += p.hashForFileInfo(info)
|
||||||
if info.ModTime().After(testModifiedTime) {
|
if info.ModTime().After(testModifiedTime) {
|
||||||
testModifiedTime = info.ModTime()
|
testModifiedTime = info.ModTime()
|
||||||
@@ -87,7 +87,7 @@ func (p *PackageHash) computeHashes() (codeHash string, codeModifiedTime time.Ti
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.watchRegExp.Match([]byte(info.Name())) {
|
if p.watchRegExp.MatchString(info.Name()) {
|
||||||
codeHash += p.hashForFileInfo(info)
|
codeHash += p.hashForFileInfo(info)
|
||||||
if info.ModTime().After(codeModifiedTime) {
|
if info.ModTime().After(codeModifiedTime) {
|
||||||
codeModifiedTime = info.ModTime()
|
codeModifiedTime = info.ModTime()
|
||||||
|
|||||||
6
test/tools/vendor/github.com/onsi/ginkgo/v2/reporters/json_report.go
generated
vendored
6
test/tools/vendor/github.com/onsi/ginkgo/v2/reporters/json_report.go
generated
vendored
@@ -18,6 +18,7 @@ func GenerateJSONReport(report types.Report, destination string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
defer f.Close()
|
||||||
enc := json.NewEncoder(f)
|
enc := json.NewEncoder(f)
|
||||||
enc.SetIndent("", " ")
|
enc.SetIndent("", " ")
|
||||||
err = enc.Encode([]types.Report{
|
err = enc.Encode([]types.Report{
|
||||||
@@ -26,7 +27,7 @@ func GenerateJSONReport(report types.Report, destination string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return f.Close()
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// MergeJSONReports produces a single JSON-formatted report at the passed in destination by merging the JSON-formatted reports provided in sources
|
// MergeJSONReports produces a single JSON-formatted report at the passed in destination by merging the JSON-formatted reports provided in sources
|
||||||
@@ -57,11 +58,12 @@ func MergeAndCleanupJSONReports(sources []string, destination string) ([]string,
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return messages, err
|
return messages, err
|
||||||
}
|
}
|
||||||
|
defer f.Close()
|
||||||
enc := json.NewEncoder(f)
|
enc := json.NewEncoder(f)
|
||||||
enc.SetIndent("", " ")
|
enc.SetIndent("", " ")
|
||||||
err = enc.Encode(allReports)
|
err = enc.Encode(allReports)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return messages, err
|
return messages, err
|
||||||
}
|
}
|
||||||
return messages, f.Close()
|
return messages, nil
|
||||||
}
|
}
|
||||||
|
|||||||
2
test/tools/vendor/github.com/onsi/ginkgo/v2/types/code_location.go
generated
vendored
2
test/tools/vendor/github.com/onsi/ginkgo/v2/types/code_location.go
generated
vendored
@@ -149,7 +149,7 @@ func PruneStack(fullStackTrace string, skip int) string {
|
|||||||
re := regexp.MustCompile(`\/ginkgo\/|\/pkg\/testing\/|\/pkg\/runtime\/`)
|
re := regexp.MustCompile(`\/ginkgo\/|\/pkg\/testing\/|\/pkg\/runtime\/`)
|
||||||
for i := 0; i < len(stack)/2; i++ {
|
for i := 0; i < len(stack)/2; i++ {
|
||||||
// We filter out based on the source code file name.
|
// We filter out based on the source code file name.
|
||||||
if !re.Match([]byte(stack[i*2+1])) {
|
if !re.MatchString(stack[i*2+1]) {
|
||||||
prunedStack = append(prunedStack, stack[i*2])
|
prunedStack = append(prunedStack, stack[i*2])
|
||||||
prunedStack = append(prunedStack, stack[i*2+1])
|
prunedStack = append(prunedStack, stack[i*2+1])
|
||||||
}
|
}
|
||||||
|
|||||||
2
test/tools/vendor/github.com/onsi/ginkgo/v2/types/version.go
generated
vendored
2
test/tools/vendor/github.com/onsi/ginkgo/v2/types/version.go
generated
vendored
@@ -1,3 +1,3 @@
|
|||||||
package types
|
package types
|
||||||
|
|
||||||
const VERSION = "2.13.1"
|
const VERSION = "2.13.2"
|
||||||
|
|||||||
2
test/tools/vendor/modules.txt
vendored
2
test/tools/vendor/modules.txt
vendored
@@ -23,7 +23,7 @@ github.com/mattn/go-colorable
|
|||||||
# github.com/mattn/go-isatty v0.0.17
|
# github.com/mattn/go-isatty v0.0.17
|
||||||
## explicit; go 1.15
|
## explicit; go 1.15
|
||||||
github.com/mattn/go-isatty
|
github.com/mattn/go-isatty
|
||||||
# github.com/onsi/ginkgo/v2 v2.13.1
|
# github.com/onsi/ginkgo/v2 v2.13.2
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
github.com/onsi/ginkgo/v2/config
|
github.com/onsi/ginkgo/v2/config
|
||||||
github.com/onsi/ginkgo/v2/formatter
|
github.com/onsi/ginkgo/v2/formatter
|
||||||
|
|||||||
Reference in New Issue
Block a user