File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
main/java/com/github/packageurl
test/java/com/github/packageurl Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -743,6 +743,8 @@ public static class StandardTypes {
743743 public static final String NUGET = "nuget" ;
744744 public static final String PYPI = "pypi" ;
745745 public static final String RPM = "rpm" ;
746+ public static final String NIXPKGS = "nixpkgs" ;
747+ public static final String HACKAGE = "hackage" ;
746748 }
747749
748750}
Original file line number Diff line number Diff line change @@ -284,6 +284,8 @@ public void testStandardTypes() {
284284 Assert .assertEquals (PackageURL .StandardTypes .NUGET , "nuget" );
285285 Assert .assertEquals (PackageURL .StandardTypes .PYPI , "pypi" );
286286 Assert .assertEquals (PackageURL .StandardTypes .RPM , "rpm" );
287+ Assert .assertEquals (PackageURL .StandardTypes .NIXPKGS , "nixpkgs" );
288+ Assert .assertEquals (PackageURL .StandardTypes .HACKAGE , "hackage" );
287289 }
288290
289291 @ Test
You can’t perform that action at this time.
0 commit comments