From 0283498ab408294fabd2ddf3c919f81b954ba425 Mon Sep 17 00:00:00 2001 From: "ahmad.zo" Date: Tue, 30 Jan 2024 11:23:41 +0330 Subject: [PATCH] fix gofmt error --- .../kubectl/pkg/explain/v2/templates/plaintext_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/staging/src/k8s.io/kubectl/pkg/explain/v2/templates/plaintext_test.go b/staging/src/k8s.io/kubectl/pkg/explain/v2/templates/plaintext_test.go index c62454140a0..6d492c843de 100644 --- a/staging/src/k8s.io/kubectl/pkg/explain/v2/templates/plaintext_test.go +++ b/staging/src/k8s.io/kubectl/pkg/explain/v2/templates/plaintext_test.go @@ -656,7 +656,7 @@ func TestPlaintext(t *testing.T) { "schema": map[string]any{ "type": "string", "description": "a description that should not be printed", - "enum": []any{}, + "enum": []int{}, }, }, Checks: []check{ @@ -671,9 +671,9 @@ func TestPlaintext(t *testing.T) { "schema": map[string]any{ "type": "string", "description": "a description that should not be printed", - "enum": []any{1, 2, 3}, + "enum": []int{1, 2, 3}, }, - "singleView": true, + "singleView": true, }, Checks: []check{ checkEquals("ENUM: 1, 2, 3"), @@ -687,9 +687,9 @@ func TestPlaintext(t *testing.T) { "schema": map[string]any{ "type": "string", "description": "a description that should not be printed", - "enum": []any{1, 2, 3}, + "enum": []int{1, 2, 3}, }, - "singleView": false, + "singleView": false, }, Checks: []check{ checkEquals(" enum: 1, 2, 3"),