Skip to content

Commit

Permalink
fix: linter error
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <[email protected]>
  • Loading branch information
knqyf263 committed Sep 13, 2024
1 parent 0bb6387 commit 8b33309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sbom/io/encode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ func TestEncoder_Encode(t *testing.T) {
wantComponents: map[uuid.UUID]*core.Component{
uuid.MustParse(id1): &libComponent,
},
wantRels: map[uuid.UUID][]core.Relationship{},
wantRels: make(map[uuid.UUID][]core.Relationship),
wantVulns: map[uuid.UUID][]core.Vulnerability{
uuid.MustParse(id1): {
{
Expand Down

0 comments on commit 8b33309

Please sign in to comment.