Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pbaumard committed Jul 17, 2024
1 parent 0f4c8cb commit 907683d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sbom/spdx/marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ func TestMarshaler_Marshal(t *testing.T) {
spdxDoc, err := marshaler.MarshalReport(ctx, tc.inputReport)
require.NoError(t, err)

assert.Equal(t, nil, spdxlib.ValidateDocument(tc.wantSBOM))
assert.NoError(t, spdxlib.ValidateDocument(spdxDoc))
assert.Equal(t, tc.wantSBOM, spdxDoc)
})
}
Expand Down

0 comments on commit 907683d

Please sign in to comment.