Skip to content

Commit 87a4e0e

Browse files
committed
Rename tests
1 parent c7129bd commit 87a4e0e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/cel/policies/clientsettingspolicies/targetRef_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ import (
66
gatewayv1alpha2 "sigs.k8s.io/gateway-api/apis/v1alpha2"
77
)
88

9-
func TestClientSettingsPoliciesTargetRef(t *testing.T) {
9+
func TestClientSettingsPoliciesTargetRefKind(t *testing.T) {
1010
allowedKinds := map[string]bool{
1111
"Gateway": true,
1212
"HTTPRoute": true,
1313
"GRPCRoute": true,
1414
}
1515

16-
testValidTargetRefs(t, allowedKinds)
17-
testInvalidTargetRefs(t, allowedKinds)
16+
testValidTargetRefKind(t, allowedKinds)
17+
testInvalidTargetRefKind(t, allowedKinds)
1818
}
1919

2020
func TestClientSettingsPoliciesTargetRefGroup(t *testing.T) {
2121
testValidTargetRefGroup(t)
2222
testInvalidTargetRefGroup(t)
2323
}
2424

25-
func testValidTargetRefs(t *testing.T, allowedKinds map[string]bool) {
25+
func testValidTargetRefKind(t *testing.T, allowedKinds map[string]bool) {
2626
t.Helper()
2727

2828
tests := []struct {
@@ -69,7 +69,7 @@ func testValidTargetRefs(t *testing.T, allowedKinds map[string]bool) {
6969
}
7070
}
7171

72-
func testInvalidTargetRefs(t *testing.T, allowedKinds map[string]bool) {
72+
func testInvalidTargetRefKind(t *testing.T, allowedKinds map[string]bool) {
7373
t.Helper()
7474

7575
tests := []struct {

0 commit comments

Comments
 (0)