@@ -72,7 +72,7 @@ func TestClusterExtensionSourceConfig(t *testing.T) {
72
72
}
73
73
74
74
func TestClusterExtensionAdmissionPackageName (t * testing.T ) {
75
- tooLongError := "spec.source.catalog.packageName: Too long: may not be longer than 253"
75
+ tooLongError := "spec.source.catalog.packageName: Too long: may not be more than 253"
76
76
regexMismatchError := "packageName must be a valid DNS1123 subdomain"
77
77
78
78
testCases := []struct {
@@ -129,7 +129,7 @@ func TestClusterExtensionAdmissionPackageName(t *testing.T) {
129
129
}
130
130
131
131
func TestClusterExtensionAdmissionVersion (t * testing.T ) {
132
- tooLongError := "spec.source.catalog.version: Too long: may not be longer than 64"
132
+ tooLongError := "spec.source.catalog.version: Too long: may not be more than 64"
133
133
regexMismatchError := "invalid version expression"
134
134
135
135
testCases := []struct {
@@ -227,7 +227,7 @@ func TestClusterExtensionAdmissionVersion(t *testing.T) {
227
227
}
228
228
229
229
func TestClusterExtensionAdmissionChannel (t * testing.T ) {
230
- tooLongError := "spec.source.catalog.channels[0]: Too long: may not be longer than 253"
230
+ tooLongError := "spec.source.catalog.channels[0]: Too long: may not be more than 253"
231
231
regexMismatchError := "channels entries must be valid DNS1123 subdomains"
232
232
233
233
testCases := []struct {
@@ -282,7 +282,7 @@ func TestClusterExtensionAdmissionChannel(t *testing.T) {
282
282
}
283
283
284
284
func TestClusterExtensionAdmissionInstallNamespace (t * testing.T ) {
285
- tooLongError := "spec.namespace: Too long: may not be longer than 63"
285
+ tooLongError := "spec.namespace: Too long: may not be more than 63"
286
286
regexMismatchError := "namespace must be a valid DNS1123 label"
287
287
288
288
testCases := []struct {
@@ -335,7 +335,7 @@ func TestClusterExtensionAdmissionInstallNamespace(t *testing.T) {
335
335
}
336
336
337
337
func TestClusterExtensionAdmissionServiceAccount (t * testing.T ) {
338
- tooLongError := "spec.serviceAccount.name: Too long: may not be longer than 253"
338
+ tooLongError := "spec.serviceAccount.name: Too long: may not be more than 253"
339
339
regexMismatchError := "name must be a valid DNS1123 subdomain"
340
340
341
341
testCases := []struct {
0 commit comments