Skip to content

Commit b971d75

Browse files
committed
fix: ignore deprecation
1 parent bcb9c36 commit b971d75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/testing/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ func ShouldNotReconcile(ctx context.Context, reconciler reconcile.Reconciler, re
3535

3636
// ExpectRequeue expects the given result to indicate a requeue.
3737
func ExpectRequeue(res reconcile.Result) {
38-
requeue := res.Requeue || res.RequeueAfter > 0
38+
requeue := res.Requeue || res.RequeueAfter > 0 //nolint:staticcheck
3939
gomega.ExpectWithOffset(1, requeue).To(gomega.BeTrue())
4040
}
4141

4242
// ExpectNoRequeue expects the given result to indicate no requeue.
4343
func ExpectNoRequeue(res reconcile.Result) {
44-
requeue := res.Requeue || res.RequeueAfter > 0
44+
requeue := res.Requeue || res.RequeueAfter > 0 //nolint:staticcheck
4545
gomega.ExpectWithOffset(1, requeue).To(gomega.BeFalse())
4646
}
4747

0 commit comments

Comments
 (0)