Skip to content

Commit aba9800

Browse files
committed
misc: remove redundant nil check
Signed-off-by: Hidde Beydals <[email protected]>
1 parent a70b3f3 commit aba9800

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/reconcile/summarize/summary_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ func TestSummarizeAndPatch(t *testing.T) {
373373
tt.afterFunc(g, obj)
374374
}
375375

376-
if obj == nil {
377-
t.Fail()
378-
}
379-
380376
// Check if the object status is valid as per kstatus.
381377
condns := &conditionscheck.Conditions{NegativePolarity: testReadyConditions.NegativePolarity}
382378
checker := conditionscheck.NewChecker(c, condns)

0 commit comments

Comments
 (0)