Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve SPDX document validation #200

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

neilnaveen
Copy link
Contributor

  • Update the CatagorySecurity to CategorySecurity in model.go
  • Add file1 to the list of files in documents_test.go to increase coverage
  • Add a validation test for an invalid document with an invalid relationship in documents_test.go

[spdx/model.go]

  • Change CatagorySecurity to CategorySecurity [spdxlib/documents_test.go]
  • Add file1 to the list of files
  • Change the relationship between p1 and p99 to DEPENDS_ON
  • Add a validation test for an invalid document with an invalid relationship

- Update the `CatagorySecurity` to `CategorySecurity` in `model.go`
- Add `file1` to the list of files in `documents_test.go` to increase coverage
- Add a validation test for an invalid document with an invalid relationship in `documents_test.go`

[spdx/model.go]
- Change `CatagorySecurity` to `CategorySecurity`
[spdxlib/documents_test.go]
- Add `file1` to the list of files
- Change the relationship between `p1` and `p99` to `DEPENDS_ON`
- Add a validation test for an invalid document with an invalid relationship

Signed-off-by: Neil Naveen <[email protected]>
Copy link
Collaborator

@kzantow kzantow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @neilnaveen

@kzantow kzantow merged commit be1c1c5 into spdx:main Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants