-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
amf
committed
Aug 15, 2024
1 parent
f22f6b4
commit 17c76c8
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1462,7 +1462,7 @@ func TestMarshaler_MarshalReport(t *testing.T) { | |
Name: "com.fasterxml.jackson.core:jackson-databind", | ||
Version: "2.13.4.1", | ||
Identifier: ftypes.PkgIdentifier{ | ||
BOMRef: "pkg:maven/com.fasterxml.jackson.core/[email protected]?file_path=jackson-databind-2.13.4.1.jar", | ||
BOMRef: "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
UID: "9A5066570222D04C", | ||
PURL: &packageurl.PackageURL{ | ||
Type: packageurl.TypeMaven, | ||
|
@@ -1480,7 +1480,7 @@ func TestMarshaler_MarshalReport(t *testing.T) { | |
PkgName: "com.fasterxml.jackson.core:jackson-databind", | ||
PkgPath: "jackson-databind-2.13.4.1.jar", | ||
PkgIdentifier: ftypes.PkgIdentifier{ | ||
BOMRef: "pkg:maven/com.fasterxml.jackson.core/[email protected]?file_path=jackson-databind-2.13.4.1.jar", | ||
BOMRef: "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
UID: "9A5066570222D04C", | ||
PURL: &packageurl.PackageURL{ | ||
Type: packageurl.TypeMaven, | ||
|
@@ -1557,7 +1557,7 @@ func TestMarshaler_MarshalReport(t *testing.T) { | |
}, | ||
Components: &[]cdx.Component{ | ||
{ | ||
BOMRef: "pkg:maven/com.fasterxml.jackson.core/[email protected]?file_path=jackson-databind-2.13.4.1.jar", | ||
BOMRef: "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
Type: cdx.ComponentTypeLibrary, | ||
Group: "com.fasterxml.jackson.core", | ||
Name: "jackson-databind", | ||
|
@@ -1607,7 +1607,7 @@ func TestMarshaler_MarshalReport(t *testing.T) { | |
Updated: "2022-12-20T10:15:00+00:00", | ||
Affects: &[]cdx.Affects{ | ||
{ | ||
Ref: "pkg:maven/com.fasterxml.jackson.core/[email protected]?file_path=jackson-databind-2.13.4.1.jar", | ||
Ref: "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
Range: &[]cdx.AffectedVersions{ | ||
{ | ||
Version: "2.13.4.1", | ||
|
@@ -1622,11 +1622,11 @@ func TestMarshaler_MarshalReport(t *testing.T) { | |
{ | ||
Ref: "aff65b54-6009-4c32-968d-748949ef46e8", | ||
Dependencies: &[]string{ | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]?file_path=jackson-databind-2.13.4.1.jar", | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
}, | ||
}, | ||
{ | ||
Ref: "pkg:maven/com.fasterxml.jackson.core/[email protected]?file_path=jackson-databind-2.13.4.1.jar", | ||
Ref: "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
Dependencies: lo.ToPtr([]string{}), | ||
}, | ||
}, | ||
|