We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad8159 commit 9a1406dCopy full SHA for 9a1406d
pkg/predicate/predicate_test.go
@@ -414,6 +414,7 @@ var _ = Describe("Predicate", func() {
414
415
})
416
417
+ // nolint:dupl
418
Describe("When checking an AnnotationChangedPredicate", func() {
419
instance := predicate.AnnotationChangedPredicate{}
420
Context("Where the old object is missing", func() {
@@ -610,6 +611,9 @@ var _ = Describe("Predicate", func() {
610
611
612
613
614
+ // LabelChangedPredicates has almost identical test cases as AnnotationChangedPredicates,
615
+ // so the duplication linter should be muted here.
616
+ //nolint:dupl
617
Describe("When checking a LabelChangedPredicate", func() {
618
instance := predicate.LabelChangedPredicate{}
619
0 commit comments