@@ -147,7 +147,7 @@ func TestLabelCheck(t *testing.T) {
147147 Severity : checks .Warning ,
148148 Diagnostics : []diags.Diagnostic {
149149 {
150- Message : "`severity` label value `warning` must match `^critical$`." ,
150+ Message : "`severity` label value must match `^critical$`." ,
151151 },
152152 },
153153 },
@@ -169,7 +169,7 @@ func TestLabelCheck(t *testing.T) {
169169 Severity : checks .Warning ,
170170 Diagnostics : []diags.Diagnostic {
171171 {
172- Message : "`severity` label value `warning` must match `^critical$`." ,
172+ Message : "`severity` label value must match `^critical$`." ,
173173 },
174174 },
175175 },
@@ -200,7 +200,7 @@ func TestLabelCheck(t *testing.T) {
200200 Severity : checks .Warning ,
201201 Diagnostics : []diags.Diagnostic {
202202 {
203- Message : "`priority` label value `2a` must match `^(1|2|3)$`." ,
203+ Message : "`priority` label value must match `^(1|2|3)$`." ,
204204 },
205205 },
206206 },
@@ -230,7 +230,7 @@ func TestLabelCheck(t *testing.T) {
230230 Severity : checks .Warning ,
231231 Diagnostics : []diags.Diagnostic {
232232 {
233- Message : "`priority` label value `2a` must match `^(1|2|3)$`." ,
233+ Message : "`priority` label value must match `^(1|2|3)$`." ,
234234 },
235235 },
236236 },
@@ -343,7 +343,7 @@ func TestLabelCheck(t *testing.T) {
343343 Severity : checks .Warning ,
344344 Diagnostics : []diags.Diagnostic {
345345 {
346- Message : "`severity` label value `warning` must match `^critical|info$`." ,
346+ Message : "`severity` label value must match `^critical|info$`." ,
347347 },
348348 },
349349 },
@@ -365,7 +365,7 @@ func TestLabelCheck(t *testing.T) {
365365 Severity : checks .Warning ,
366366 Diagnostics : []diags.Diagnostic {
367367 {
368- Message : "`severity` label value `warning` must match `^critical|info$`." ,
368+ Message : "`severity` label value must match `^critical|info$`." ,
369369 },
370370 },
371371 },
@@ -432,7 +432,7 @@ func TestLabelCheck(t *testing.T) {
432432 Severity : checks .Warning ,
433433 Diagnostics : []diags.Diagnostic {
434434 {
435- Message : "`for` label value `must wait 5m to fire` must match `^must wait {{$for}} to fire$`." ,
435+ Message : "`for` label value must match `^must wait {{$for}} to fire$`." ,
436436 },
437437 },
438438 },
@@ -454,7 +454,7 @@ func TestLabelCheck(t *testing.T) {
454454 Severity : checks .Bug ,
455455 Diagnostics : []diags.Diagnostic {
456456 {
457- Message : "`components` label value `db` must match `^api|memcached$`." ,
457+ Message : "`components` label value must match `^api|memcached$`." ,
458458 },
459459 },
460460 },
@@ -485,7 +485,7 @@ func TestLabelCheck(t *testing.T) {
485485 Severity : checks .Bug ,
486486 Diagnostics : []diags.Diagnostic {
487487 {
488- Message : "`components` label value `db` is not one of valid values." ,
488+ Message : "`components` label value is not one of valid values." ,
489489 },
490490 },
491491 },
@@ -507,7 +507,7 @@ func TestLabelCheck(t *testing.T) {
507507 Severity : checks .Bug ,
508508 Diagnostics : []diags.Diagnostic {
509509 {
510- Message : "`components` label value `db` must match `^api|memcached$`." ,
510+ Message : "`components` label value must match `^api|memcached$`." ,
511511 },
512512 },
513513 },
@@ -538,7 +538,7 @@ func TestLabelCheck(t *testing.T) {
538538 Severity : checks .Warning ,
539539 Diagnostics : []diags.Diagnostic {
540540 {
541- Message : "`components` label value `db` is not one of valid values." ,
541+ Message : "`components` label value is not one of valid values." ,
542542 },
543543 },
544544 },
0 commit comments