Correct typo from 'gingko' to 'ginkgo'

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
This commit is contained in:
Jongwoo Han 2023-12-20 10:31:45 +09:00
parent 755b4e2bc4
commit 725b107f49
No known key found for this signature in database
GPG Key ID: C8D474A3C9EB215C
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 {