Skip to content

Commit 5cc6d82

Browse files
committed
updated testing message
1 parent e28cc71 commit 5cc6d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit-tests/cve/validatePurlTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('Testing validatePURL middleware', () => {
125125
expect(() => purlValidateHelper(PurlRecordVersion)).to.throw('The PURL version component is currently not supported by the CVE schema: "' + PurlRecordVersion[0].packageURL + '"')
126126
})
127127

128-
it('Should fail to validate a PURL object with an empty subpath ', () => {
128+
it('Should fail to validate a PURL object with one non-empty subpath and at least one empty subpath ', () => {
129129
expect(() => purlValidateHelper(PurlRecordEmptySubpath)).to.throw('Subpaths cannot be empty or contain only a "/": "' + PurlRecordEmptySubpath[0].packageURL + '"')
130130
})
131131

0 commit comments

Comments
 (0)