Skip to content

Commit 48ec86b

Browse files
committed
gofumpt
1 parent dbb5b5c commit 48ec86b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/cel/policies/clientsettingspolicies/targetRef_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
)
88

99
func TestClientSettingsPoliciesTargetRef(t *testing.T) {
10-
1110
allowedKinds := map[string]bool{
1211
"Gateway": true,
1312
"HTTPRoute": true,
@@ -46,7 +45,6 @@ func testInvalidTargetRefs(t *testing.T, allowedKinds map[string]bool) {
4645

4746
for _, tt := range tests {
4847
t.Run(tt.name, func(t *testing.T) {
49-
5048
if _, ok := allowedKinds[string(tt.targetRef.Kind)]; !ok {
5149
gotError := "TargetRef Kind must be one of: Gateway, HTTPRoute, or GRPCRoute'"
5250

@@ -94,7 +92,6 @@ func testValidTargetRefs(t *testing.T, allowedKinds map[string]bool) {
9492

9593
for _, tt := range tests {
9694
t.Run(tt.name, func(t *testing.T) {
97-
9895
if _, ok := allowedKinds[string(tt.targetRef.Kind)]; !ok {
9996
gotError := "TargetRef Kind must be one of: Gateway, HTTPRoute, or GRPCRoute'"
10097

0 commit comments

Comments
 (0)