From 3c594d61567fc3cd5ef196a1419be957cdfaa5e1 Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Wed, 1 Jun 2022 13:03:59 +0800 Subject: [PATCH] Fix the naming of the test suites Signed-off-by: Dave Chen --- staging/src/k8s.io/kubectl/pkg/apply/parse/suite_test.go | 4 ++-- staging/src/k8s.io/kubectl/pkg/apply/strategy/suite_test.go | 4 ++-- .../pkg/util/openapi/validation/validation_suite_test.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/staging/src/k8s.io/kubectl/pkg/apply/parse/suite_test.go b/staging/src/k8s.io/kubectl/pkg/apply/parse/suite_test.go index a50273f4583..010dc993295 100644 --- a/staging/src/k8s.io/kubectl/pkg/apply/parse/suite_test.go +++ b/staging/src/k8s.io/kubectl/pkg/apply/parse/suite_test.go @@ -26,9 +26,9 @@ import ( "testing" ) -func TestOpenapi(t *testing.T) { +func TestApplyParse(t *testing.T) { RegisterFailHandler(Fail) - RunSpecsWithDefaultAndCustomReporters(t, "Openapi Suite", []Reporter{newlineReporter{}}) + RunSpecsWithDefaultAndCustomReporters(t, "Apply Parse Suite", []Reporter{newlineReporter{}}) } // Print a newline after the default newlineReporter due to issue diff --git a/staging/src/k8s.io/kubectl/pkg/apply/strategy/suite_test.go b/staging/src/k8s.io/kubectl/pkg/apply/strategy/suite_test.go index 42385f536af..56202fbdea2 100644 --- a/staging/src/k8s.io/kubectl/pkg/apply/strategy/suite_test.go +++ b/staging/src/k8s.io/kubectl/pkg/apply/strategy/suite_test.go @@ -26,9 +26,9 @@ import ( "testing" ) -func TestOpenapi(t *testing.T) { +func TestStrategy(t *testing.T) { RegisterFailHandler(Fail) - RunSpecsWithDefaultAndCustomReporters(t, "Openapi Suite", []Reporter{newlineReporter{}}) + RunSpecsWithDefaultAndCustomReporters(t, "Apply Strategy Suite", []Reporter{newlineReporter{}}) } // Print a newline after the default newlineReporter due to issue diff --git a/staging/src/k8s.io/kubectl/pkg/util/openapi/validation/validation_suite_test.go b/staging/src/k8s.io/kubectl/pkg/util/openapi/validation/validation_suite_test.go index 30e4381f9a0..f217ff29914 100644 --- a/staging/src/k8s.io/kubectl/pkg/util/openapi/validation/validation_suite_test.go +++ b/staging/src/k8s.io/kubectl/pkg/util/openapi/validation/validation_suite_test.go @@ -26,9 +26,9 @@ import ( "testing" ) -func TestOpenapi(t *testing.T) { +func TestOpenapiValidation(t *testing.T) { RegisterFailHandler(Fail) - RunSpecsWithDefaultAndCustomReporters(t, "Openapi Suite", []Reporter{newlineReporter{}}) + RunSpecsWithDefaultAndCustomReporters(t, "Openapi Validation Suite", []Reporter{newlineReporter{}}) } // Print a newline after the default newlineReporter due to issue