mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Correct typo from 'gingko' to 'ginkgo'
Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
This commit is contained in:
parent
755b4e2bc4
commit
725b107f49
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user