Non-functional updates to cargo parser
What does this MR do?
Follow up to Add cargo lockfile parser (!801 - merged) • Igor Frenkel • 17.2
- Add tests for error scenarios
- Wrap parsing error
- Add slice size on creation
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Igor Frenkel