mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
fix gofmt error
This commit is contained in:
parent
0c7281624e
commit
0283498ab4
@ -656,7 +656,7 @@ func TestPlaintext(t *testing.T) {
|
|||||||
"schema": map[string]any{
|
"schema": map[string]any{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "a description that should not be printed",
|
"description": "a description that should not be printed",
|
||||||
"enum": []any{},
|
"enum": []int{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Checks: []check{
|
Checks: []check{
|
||||||
@ -671,9 +671,9 @@ func TestPlaintext(t *testing.T) {
|
|||||||
"schema": map[string]any{
|
"schema": map[string]any{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "a description that should not be printed",
|
"description": "a description that should not be printed",
|
||||||
"enum": []any{1, 2, 3},
|
"enum": []int{1, 2, 3},
|
||||||
},
|
},
|
||||||
"singleView": true,
|
"singleView": true,
|
||||||
},
|
},
|
||||||
Checks: []check{
|
Checks: []check{
|
||||||
checkEquals("ENUM: 1, 2, 3"),
|
checkEquals("ENUM: 1, 2, 3"),
|
||||||
@ -687,9 +687,9 @@ func TestPlaintext(t *testing.T) {
|
|||||||
"schema": map[string]any{
|
"schema": map[string]any{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "a description that should not be printed",
|
"description": "a description that should not be printed",
|
||||||
"enum": []any{1, 2, 3},
|
"enum": []int{1, 2, 3},
|
||||||
},
|
},
|
||||||
"singleView": false,
|
"singleView": false,
|
||||||
},
|
},
|
||||||
Checks: []check{
|
Checks: []check{
|
||||||
checkEquals(" enum: 1, 2, 3"),
|
checkEquals(" enum: 1, 2, 3"),
|
||||||
|
Loading…
Reference in New Issue
Block a user