Skip to content

Commit

Permalink
test: update refs in test to check trimNonUrlInfo func
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jun 18, 2024
1 parent dfe255d commit 9085dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sbom/cyclonedx/marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -847,8 +847,8 @@ func TestMarshaler_MarshalReport(t *testing.T) {
},
},
References: []string{
"http://www.openwall.com/lists/oss-security/2022/02/11/5",
"https://access.redhat.com/security/cve/CVE-2022-23633",
" extraPrefix http://www.openwall.com/lists/oss-security/2022/02/11/5",
"https://access.redhat.com/security/cve/CVE-2022-23633 (extra suffix)",
},
PublishedDate: lo.ToPtr(time.Date(2022, 2, 11, 21, 15, 0, 0, time.UTC)),
LastModifiedDate: lo.ToPtr(time.Date(2022, 2, 22, 21, 47, 0, 0, time.UTC)),
Expand Down

0 comments on commit 9085dcb

Please sign in to comment.