-
Notifications
You must be signed in to change notification settings - Fork 185
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
test: add unit-tests for internal/version.go
#977
test: add unit-tests for internal/version.go
#977
Conversation
Signed-off-by: Akanksha Gahalot <[email protected]>
254571b
to
01fc19f
Compare
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #977 +/- ##
==========================================
+ Coverage 81.08% 81.19% +0.10%
==========================================
Files 53 53
Lines 2776 2776
==========================================
+ Hits 2251 2254 +3
+ Misses 356 354 -2
+ Partials 169 168 -1 |
Signed-off-by: Akanksha Gahalot <[email protected]>
@TerryHowe I've done the requested changes, please review. |
Signed-off-by: Akanksha Gahalot <[email protected]>
@qweeah review comments resolved, please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
internal/version.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @enraiha0307 can you help rebase the PR?
Yes, I'll do that. |
Signed-off-by: Akanksha Gahalot <[email protected]>
What this PR does / why we need it:
This PR adds a unit test file for
internal/version/version.go
to increase its code coverage from 40% to 100%.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
This PR is a small part of #972
Please check the following list: