Merge pull request #122401 from jongwooo/hotfix/correct-typo-from-gingko-to-ginkgo

Correct typo from 'gingko' to 'ginkgo'
This commit is contained in:
Kubernetes Prow Robot 2023-12-21 06:42:10 +01:00 committed by GitHub
commit 6eeb48cd7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -66,7 +66,7 @@ var (
//
// This can be used by extensions of the core framework to modify
// settings in the framework instance or to add additional callbacks
// with gingko.BeforeEach/AfterEach/DeferCleanup.
// with ginkgo.BeforeEach/AfterEach/DeferCleanup.
//
// When a test runs, functions will be invoked in this order:
// - BeforeEaches defined by tests before f.NewDefaultFramework

View File

@ -148,7 +148,7 @@ func ConformanceIt(args ...interface{}) bool {
// It is a wrapper around [ginkgo.It] which supports framework With* labels as
// optional arguments in addition to those already supported by ginkgo itself,
// like [ginkgo.Label] and [gingko.Offset].
// like [ginkgo.Label] and [ginkgo.Offset].
//
// Text and arguments may be mixed. The final text is a concatenation
// of the text arguments and special tags from the With functions.
@ -163,7 +163,7 @@ func (f *Framework) It(args ...interface{}) bool {
// Describe is a wrapper around [ginkgo.Describe] which supports framework
// With* labels as optional arguments in addition to those already supported by
// ginkgo itself, like [ginkgo.Label] and [gingko.Offset].
// ginkgo itself, like [ginkgo.Label] and [ginkgo.Offset].
//
// Text and arguments may be mixed. The final text is a concatenation
// of the text arguments and special tags from the With functions.
@ -178,7 +178,7 @@ func (f *Framework) Describe(args ...interface{}) bool {
// Context is a wrapper around [ginkgo.Context] which supports framework With*
// labels as optional arguments in addition to those already supported by
// ginkgo itself, like [ginkgo.Label] and [gingko.Offset].
// ginkgo itself, like [ginkgo.Label] and [ginkgo.Offset].
//
// Text and arguments may be mixed. The final text is a concatenation
// of the text arguments and special tags from the With functions.

View File

@ -132,7 +132,7 @@ ERROR: some/relative/path/buggy.go:200: with spaces
`
// Used by unittests/list-labels.
ListLabelsOutput = `The following labels can be used with 'gingko run --label-filter':
ListLabelsOutput = `The following labels can be used with 'ginkgo run --label-filter':
Alpha
Beta
Conformance

View File

@ -647,7 +647,7 @@ func listTestInformation(report ginkgo.Report) {
labels.Insert(spec.Labels()...)
}
}
fmt.Fprintf(Output, "The following labels can be used with 'gingko run --label-filter':\n%s%s\n\n", indent, strings.Join(sets.List(labels), "\n"+indent))
fmt.Fprintf(Output, "The following labels can be used with 'ginkgo run --label-filter':\n%s%s\n\n", indent, strings.Join(sets.List(labels), "\n"+indent))
}
if TestContext.listTests {
leafs := make([][]string, 0, len(report.SpecReports))

View File

@ -184,7 +184,7 @@ var _ = utils.SIGDescribe("PersistentVolumes-local", func() {
for tempTestVolType := range setupLocalVolumeMap {
// New variable required for gingko test closures
// New variable required for ginkgo test closures
testVolType := tempTestVolType
args := []interface{}{fmt.Sprintf("[Volume type: %s]", testVolType)}
if testVolType == GCELocalSSDVolumeType {