From 431712c4c14bf808731b7cc992b17038828c6f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Sun, 21 Apr 2024 08:53:48 +0200 Subject: [PATCH] fix testcase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- tools/internal/generator/openapiv2_parser_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/internal/generator/openapiv2_parser_test.go b/tools/internal/generator/openapiv2_parser_test.go index cc153ffb8..634be62b0 100644 --- a/tools/internal/generator/openapiv2_parser_test.go +++ b/tools/internal/generator/openapiv2_parser_test.go @@ -26,7 +26,7 @@ func TestKubernetesSchema(t *testing.T) { templateSpec := templateProps["spec"].Value templateSpecProps := templateSpec.Properties - assert.Equal(t, len(properties), 11, "properties") - assert.Equal(t, len(templateProps), 5, "templateProps") - assert.Equal(t, len(templateSpecProps), 8, "templateSpecProps") + assert.Equal(t, 11, len(properties), "properties") + assert.Equal(t, 5, len(templateProps), "templateProps") + assert.Equal(t, 9, len(templateSpecProps), "templateSpecProps") }