Add comment for 0th case

This commit is contained in:
Daniil Loktev 2022-10-08 12:06:42 +03:00
parent 229ce27ae4
commit e954eeb255

View File

@ -70,6 +70,7 @@ func TestNewActiveDeadlineHandler(t *testing.T) {
for i, testCase := range testCases {
actual, err := newActiveDeadlineHandler(testCase.podStatusProvider, testCase.recorder, testCase.clock)
// 0th case is the only one expected to pass, and is kept for coverage and confidence check
if i == 0 {
expected := &activeDeadlineHandler{
clock: fakeClock,