@@ -680,21 +680,21 @@ func TestShouldRecordEvent(t *testing.T) {
680
680
}
681
681
682
682
_ , actual := innerEventRecorder .shouldRecordEvent (nil )
683
- assert .Equal ( t , false , actual )
683
+ assert .False ( t , actual )
684
684
685
685
var obj = & v1.ObjectReference {Namespace : "claimrefns" , Name : "claimrefname" }
686
686
687
687
_ , actual = innerEventRecorder .shouldRecordEvent (obj )
688
- assert .Equal ( t , true , actual )
688
+ assert .True ( t , actual )
689
689
690
690
obj = & v1.ObjectReference {Namespace : "system" , Name : "infra" , FieldPath : "implicitly required container " }
691
691
692
692
_ , actual = innerEventRecorder .shouldRecordEvent (obj )
693
- assert .Equal ( t , false , actual )
693
+ assert .False ( t , actual )
694
694
695
695
var nilObj * v1.ObjectReference = nil
696
696
_ , actual = innerEventRecorder .shouldRecordEvent (nilObj )
697
- assert .Equal ( t , false , actual , "should not panic if the typed nil was used, see https://github.com/kubernetes/kubernetes/issues/95552" )
697
+ assert .False ( t , actual , "should not panic if the typed nil was used, see https://github.com/kubernetes/kubernetes/issues/95552" )
698
698
}
699
699
700
700
func TestHasWindowsHostProcessContainer (t * testing.T ) {
0 commit comments