Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/spec/specification-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"expected_failure_reason": "Should fail to build a PURL from invalid input components"
},
{
"description": "Build with normalized checksum",
"description": "Build with multiple checksum",
"test_group": "base",
"test_type": "build",
"input": {
Expand All @@ -154,20 +154,20 @@
"name": "openssl",
"version": "1.1.10g",
"qualifiers": {
"checksum": "SHA256:dE4d501267Da"
"checksum": "sha1:ad9503c3e994a4f,sha256:41bf9088b3a1e6c1ef1d"
},
"subpath": null
},
"expected_output": "pkg:generic/[email protected]?checksum=sha256:de4d501267da",
"expected_output": "pkg:generic/[email protected]?checksum=sha1:ad9503c3e994a4f%2Csha256:41bf9088b3a1e6c1ef1d",
"expected_failure": false,
"expected_failure_reason": null
},
{
"description": "Roundtrip with normalized checksum",
"description": "Roundtrip with multiple checksum",
"test_group": "base",
"test_type": "roundtrip",
"input": "pkg:generic/bitwarderl?checksum=SHA256:dE4d501267Da",
"expected_output": "pkg:generic/bitwarderl?checksum=sha256:de4d501267da",
"input": "pkg:generic/bitwarderl?checksum=sha1:ad9503c3e994a4f%2Csha256:41bf9088b3a1e6c1ef1d",
"expected_output": "pkg:generic/bitwarderl?checksum=sha1:ad9503c3e994a4f%2Csha256:41bf9088b3a1e6c1ef1d",
"expected_failure": false,
"expected_failure_reason": null
}
Expand Down