mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 00:46:38 +01:00
update to latest packageurl-go (#3347)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -81,7 +81,7 @@ func Test_packageURL(t *testing.T) {
|
||||
Source: "s",
|
||||
Version: "v",
|
||||
},
|
||||
expected: "pkg:deb/debian/p@v?upstream=s&distro=debian-11",
|
||||
expected: "pkg:deb/debian/p@v?distro=debian-11&upstream=s",
|
||||
},
|
||||
{
|
||||
name: "with upstream qualifier with source pkg name and version info",
|
||||
@@ -98,7 +98,7 @@ func Test_packageURL(t *testing.T) {
|
||||
Version: "v",
|
||||
SourceVersion: "2.3",
|
||||
},
|
||||
expected: "pkg:deb/debian/p@v?upstream=s%402.3&distro=debian-11",
|
||||
expected: "pkg:deb/debian/p@v?distro=debian-11&upstream=s%402.3",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user