mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 07:26:34 +01:00
add VirtualPath to source.Location
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -61,7 +61,7 @@ func TestPackageSbomToModel(t *testing.T) {
|
||||
FoundBy: "foundBy",
|
||||
Locations: []source.Location{
|
||||
{
|
||||
Path: "path",
|
||||
RealPath: "path",
|
||||
FileSystemID: "layerID",
|
||||
},
|
||||
},
|
||||
@@ -139,7 +139,7 @@ func TestPackageSbomImport(t *testing.T) {
|
||||
FoundBy: "foundBy",
|
||||
Locations: []source.Location{
|
||||
{
|
||||
Path: "path",
|
||||
RealPath: "path",
|
||||
FileSystemID: "layerID",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user