Skip to content

Commit 2e8625c

Browse files
committed
Call normalize or type-specific validations will not run
1 parent 7909ee1 commit 2e8625c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/github/packageurl/PackageURLTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ void npmCaseSensitive() throws Exception {
376376
"pkg:swift/github.com/Alamofire/[email protected]",
377377
"pkg:swift/github.com/RxSwiftCommunity/[email protected]"
378378
})
379-
void parseValidTypes(String purl) {
380-
assertDoesNotThrow(() -> new PackageURL(purl));
379+
void parseValidTypes(final String purl) {
380+
assertDoesNotThrow(() -> new PackageURL(purl).normalize());
381381
}
382382
}

0 commit comments

Comments
 (0)