Skip to content

Commit

Permalink
Use require instead of assert
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Hoffman <[email protected]>
  • Loading branch information
Aaron-9900 committed Nov 25, 2024
1 parent 3f1734a commit b3eb347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/utils/kube/kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ spec:
require.NoError(t, err)

images := GetResourceImages(&deployment)
assert.Equal(t, expected, images)
require.Equal(t, expected, images)
}

func TestGetResourceImagesForPod(t *testing.T) {
Expand Down Expand Up @@ -224,7 +224,7 @@ spec:
require.NoError(t, err)

images := GetResourceImages(&pod)
assert.Equal(t, expected, images)
require.Equal(t, expected, images)
}

func TestSplitYAML_SingleObject(t *testing.T) {
Expand Down

0 comments on commit b3eb347

Please sign in to comment.