Update gomodules expectation to align with test project
What does this MR do?
Update fixtures to align with gemnasium (gitlab-org/security-products/tests/go-modules!85 - merged) updates the tests/go-modules/main.go file so that it's the same as the gemnasium/qa/fixtures/go-modules/gomod/default/main.go fixture, for the sake of consistency. However, this change causes the downstream qa-gosec-sast
test to fail because the expectations are now incorrect, due to an additional newline that was inserted into the tests/go-modules/main.go
file.
This MR updates the line numbers in the qa/expect/go-modules/gl-sast-report.json
expectation file so it reflects the corresponding tests/go-modules/main.go in the test project.
What are the relevant issue numbers?
N/A
Testing
Tested successfully in this pipeline.
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 Lucas Charles