Skip to content

Commit

Permalink
adjust test conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gerla <[email protected]>
  • Loading branch information
tgerla committed Aug 31, 2022
1 parent 9d4a65c commit ed5c9c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/formats/common/cyclonedxhelpers/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func Test_encodeComponentProperties(t *testing.T) {
Description: "Meta package to pull in correct libc",
Size: 0,
InstalledSize: 4096,
PullDependencies: "musl-utils",
PullDependencies: []string{"musl-utils"},
PullChecksum: "Q1p78yvTLG094tHE1+dToJGbmYzQE=",
GitCommitOfAport: "97b1c2842faa3bfa30f5811ffbf16d5ff9f1a479",
Files: []pkg.ApkFileRecord{},
Expand All @@ -54,7 +54,7 @@ func Test_encodeComponentProperties(t *testing.T) {
{Name: "syft:metadata:installedSize", Value: "4096"},
{Name: "syft:metadata:originPackage", Value: "libc-dev"},
{Name: "syft:metadata:pullChecksum", Value: "Q1p78yvTLG094tHE1+dToJGbmYzQE="},
{Name: "syft:metadata:pullDependencies", Value: "musl-utils"},
{Name: "syft:metadata:pullDependencies:0", Value: "musl-utils"},
{Name: "syft:metadata:size", Value: "0"},
},
},
Expand Down

0 comments on commit ed5c9c9

Please sign in to comment.