You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(()=>purlValidateHelper(RecordQualifierVersionPurl)).to.throw('PURL versions are currently not supported by the CVE schema: '+RecordQualifierVersionPurl[0].packageURL)
172
178
})
173
179
180
+
it('Should fail to validate when a qualifier has a key and no value ',()=>{
181
+
expect(()=>purlValidateHelper(PurlQualifierKeyNoValueRecord)).to.throw('Qualifier keys must have a value: '+PurlQualifierKeyNoValueRecord[0].packageURL)
182
+
})
183
+
174
184
it('Should fail to validate when a PURL contain an encoded colon ',()=>{
175
185
expect(()=>purlValidateHelper(PurlEncodedColonRecord)).to.throw('Percent-encoded colons are not allowed in a PURL: '+PurlEncodedColonRecord[0].packageURL)
0 commit comments