mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
chore: update test
Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
parent
14b1a8337e
commit
a7f9e30607
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ func Test_getProviderConfig(t *testing.T) {
|
|||
cmpopts.IgnoreFields(binary.Classifier{}, "EvidenceMatcher"),
|
||||
cmpopts.IgnoreUnexported(syft.CreateSBOMConfig{}),
|
||||
}
|
||||
if d := cmp.Diff(tt.want, getProviderConfig(tt.opts), opts...); d != "" {
|
||||
t.Errorf("getProviderConfig() mismatch (-want +got):\n%s", d)
|
||||
if d := cmp.Diff(tt.want, tt.opts.ToProviderConfig(), opts...); d != "" {
|
||||
t.Errorf("opts.ToProviderConfig() mismatch (-want +got):\n%s", d)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue