Skip to content

Commit

Permalink
Update maintenance_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored Mar 29, 2024
1 parent 781d05c commit d53d5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repository/maintenance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func TestDeleteOldMaintenanceJobs(t *testing.T) {
assert.NoError(t, err)

// We expect the number of jobs to be equal to 'keep'
assert.Equal(t, keep, len(jobList.Items))
assert.Len(t, jobList.Items, keep)

// We expect that the oldest jobs were deleted
// Job3 should not be present in the remaining list
Expand Down

0 comments on commit d53d5c7

Please sign in to comment.