Skip to content

Commit

Permalink
Fixed output tests
Browse files Browse the repository at this point in the history
CPE was still in the wrong position in one of the tests - fixed

Signed-off-by: Jens Lucius <[email protected]>
  • Loading branch information
jblu42 committed Jan 21, 2022
1 parent fd17465 commit 9c2965e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/bom_v1.3_setuptools_with_cpe.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"type": "library",
"name": "setuptools",
"version": "50.3.2",
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
"cpe": "cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*",
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
"bom-ref": "pkg:pypi/[email protected]?extension=tar.gz",
"licenses": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/bom_v1.4_setuptools_with_cpe.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"type": "library",
"name": "setuptools",
"version": "50.3.2",
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
"cpe": "cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*",
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
"bom-ref": "pkg:pypi/[email protected]?extension=tar.gz"
}
]
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/bom_v1.4_setuptools_with_cpe.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<component type="library" bom-ref="pkg:pypi/[email protected]?extension=tar.gz">
<name>setuptools</name>
<version>50.3.2</version>
<cpe>cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*</cpe>
<purl>pkg:pypi/[email protected]?extension=tar.gz</purl>
<cpe>cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*</cpe>
</component>
</components>
</bom>

0 comments on commit 9c2965e

Please sign in to comment.