@@ -87,6 +87,7 @@ func getLabelsTestCases(t *testing.T, propertyPath string) map[string]labelsTest
87
87
{"net_.-this" : {}},
88
88
{"9net" : {}},
89
89
{"net9" : {}},
90
+ {"nEt" : {}},
90
91
}
91
92
invalidLabels := []Labels {
92
93
{strings .Repeat ("l" , 64 ): {}},
@@ -96,7 +97,6 @@ func getLabelsTestCases(t *testing.T, propertyPath string) map[string]labelsTest
96
97
{"_net" : {}},
97
98
{"-net" : {}},
98
99
{".net" : {}},
99
- {"nEt" : {}},
100
100
}
101
101
testCases := make (map [string ]labelsTestCase , len (validLabels )+ len (invalidLabels ))
102
102
for _ , labels := range validLabels {
@@ -144,10 +144,13 @@ func getAnnotationsTestCases(t *testing.T, propertyPath string) map[string]annot
144
144
{"net" : "" },
145
145
{"9net" : "" },
146
146
{"net9" : "" },
147
+ {"nEt" : "" },
147
148
{"openslo.com/service" : "" },
148
149
{"domain/service" : "" },
149
150
{"domain.org/service" : "" },
150
151
{"domain.this.org/service" : "" },
152
+ {"domain.this.org/service.foo" : "" },
153
+ {"my-org.com/spec.indicator.metricSource" : "" },
151
154
}
152
155
invalidAnnotations := []Annotations {
153
156
{strings .Repeat ("l" , 64 ): "" },
@@ -160,7 +163,6 @@ func getAnnotationsTestCases(t *testing.T, propertyPath string) map[string]annot
160
163
{"_net" : "" },
161
164
{"-net" : "" },
162
165
{".net" : "" },
163
- {"nEt" : "" },
164
166
{"openslo.com/" : "" },
165
167
{"openslo.com!/service" : "" },
166
168
{"-openslo.com/service" : "" },
0 commit comments