Skip to content

Commit

Permalink
test: check error
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Dec 4, 2022
1 parent 437dfce commit 1b16079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/syft/syft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ func TestApplyProxyRegistry(t *testing.T) {
t.Run(v.input, func(t *testing.T) {
s := syft.New("json", v.dataMap)
img := &oci.RegistryImage{ImageID: v.input, Image: v.input}
s.ApplyProxyRegistry(img)
err := s.ApplyProxyRegistry(img)
assert.NoError(t, err)
assert.Equal(t, v.expected, img.ImageID)
})
}
Expand Down

0 comments on commit 1b16079

Please sign in to comment.