mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.21.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
15
vendor/github.com/onsi/ginkgo/v2/CHANGELOG.md
generated
vendored
15
vendor/github.com/onsi/ginkgo/v2/CHANGELOG.md
generated
vendored
@@ -1,3 +1,18 @@
|
||||
## 2.21.0
|
||||
|
||||
|
||||
### Features
|
||||
- add support for GINKGO_TIME_FORMAT [a69eb39]
|
||||
- add GINKGO_NO_COLOR to disable colors via environment variables [bcab9c8]
|
||||
|
||||
### Fixes
|
||||
- increase threshold in timeline matcher [e548367]
|
||||
- Fix the document by replacing `SpecsThatWillBeRun` with `SpecsThatWillRun`
|
||||
[c2c4d3c]
|
||||
|
||||
### Maintenance
|
||||
- bump various dependencies [7e65a00]
|
||||
|
||||
## 2.20.2
|
||||
|
||||
Require Go 1.22+
|
||||
|
||||
4
vendor/github.com/onsi/ginkgo/v2/formatter/formatter.go
generated
vendored
4
vendor/github.com/onsi/ginkgo/v2/formatter/formatter.go
generated
vendored
@@ -82,6 +82,10 @@ func New(colorMode ColorMode) Formatter {
|
||||
return fmt.Sprintf("\x1b[38;5;%dm", colorCode)
|
||||
}
|
||||
|
||||
if _, noColor := os.LookupEnv("GINKGO_NO_COLOR"); noColor {
|
||||
colorMode = ColorModeNone
|
||||
}
|
||||
|
||||
f := Formatter{
|
||||
ColorMode: colorMode,
|
||||
colors: map[string]string{
|
||||
|
||||
2
vendor/github.com/onsi/ginkgo/v2/types/config.go
generated
vendored
2
vendor/github.com/onsi/ginkgo/v2/types/config.go
generated
vendored
@@ -328,7 +328,7 @@ var ParallelConfigFlags = GinkgoFlags{
|
||||
// ReporterConfigFlags provides flags for the Ginkgo test process, and CLI
|
||||
var ReporterConfigFlags = GinkgoFlags{
|
||||
{KeyPath: "R.NoColor", Name: "no-color", SectionKey: "output", DeprecatedName: "noColor", DeprecatedDocLink: "changed-command-line-flags",
|
||||
Usage: "If set, suppress color output in default reporter."},
|
||||
Usage: "If set, suppress color output in default reporter. You can also set the environment variable GINKGO_NO_COLOR=TRUE"},
|
||||
{KeyPath: "R.Verbose", Name: "v", SectionKey: "output",
|
||||
Usage: "If set, emits more output including GinkgoWriter contents."},
|
||||
{KeyPath: "R.VeryVerbose", Name: "vv", SectionKey: "output",
|
||||
|
||||
10
vendor/github.com/onsi/ginkgo/v2/types/types.go
generated
vendored
10
vendor/github.com/onsi/ginkgo/v2/types/types.go
generated
vendored
@@ -3,13 +3,21 @@ package types
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
const GINKGO_FOCUS_EXIT_CODE = 197
|
||||
const GINKGO_TIME_FORMAT = "01/02/06 15:04:05.999"
|
||||
|
||||
var GINKGO_TIME_FORMAT = "01/02/06 15:04:05.999"
|
||||
|
||||
func init() {
|
||||
if os.Getenv("GINKGO_TIME_FORMAT") != "" {
|
||||
GINKGO_TIME_FORMAT = os.Getenv("GINKGO_TIME_FORMAT")
|
||||
}
|
||||
}
|
||||
|
||||
// Report captures information about a Ginkgo test run
|
||||
type Report struct {
|
||||
|
||||
2
vendor/github.com/onsi/ginkgo/v2/types/version.go
generated
vendored
2
vendor/github.com/onsi/ginkgo/v2/types/version.go
generated
vendored
@@ -1,3 +1,3 @@
|
||||
package types
|
||||
|
||||
const VERSION = "2.20.2"
|
||||
const VERSION = "2.21.0"
|
||||
|
||||
Reference in New Issue
Block a user