Fix the naming of the test suites

Signed-off-by: Dave Chen <dave.chen@arm.com>

Kubernetes-commit: 3c594d61567fc3cd5ef196a1419be957cdfaa5e1
This commit is contained in:
Dave Chen 2022-06-01 13:03:59 +08:00 committed by Kubernetes Publisher
parent 7fa5b495e3
commit bdd48ac8f1
3 changed files with 6 additions and 6 deletions

View File

@ -26,9 +26,9 @@ import (
"testing" "testing"
) )
func TestOpenapi(t *testing.T) { func TestApplyParse(t *testing.T) {
RegisterFailHandler(Fail) 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 // Print a newline after the default newlineReporter due to issue

View File

@ -26,9 +26,9 @@ import (
"testing" "testing"
) )
func TestOpenapi(t *testing.T) { func TestStrategy(t *testing.T) {
RegisterFailHandler(Fail) 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 // Print a newline after the default newlineReporter due to issue

View File

@ -26,9 +26,9 @@ import (
"testing" "testing"
) )
func TestOpenapi(t *testing.T) { func TestOpenapiValidation(t *testing.T) {
RegisterFailHandler(Fail) 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 // Print a newline after the default newlineReporter due to issue