Skip to content

Commit

Permalink
fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
dbenque committed Aug 28, 2023
1 parent 97f06c0 commit cc67319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func TestUpdateResourceRequests(t *testing.T) {
return
}

assert.Contains(t, resources, "", "expected empty resource to be removed")
assert.NotContains(t, resources, "", "expected empty resource to be removed")

cpuRequest := resources[0].Requests[apiv1.ResourceCPU]
assert.Equal(t, tc.expectedCPU.Value(), cpuRequest.Value(), "cpu request doesn't match")
Expand Down

0 comments on commit cc67319

Please sign in to comment.