-
Notifications
You must be signed in to change notification settings - Fork 78
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
add log/mock/logger test #538
Conversation
Best reviewed: commit by commit
Optimal code review plan
|
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
wantVals := []interface{}{ | ||
"Vald", | ||
} | ||
wantFormat := "json" |
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.
[golangci] reported by reviewdog 🐶
string json
has 5 occurrences, make it a constant (goconst)
Codecov Report
@@ Coverage Diff @@
## master #538 +/- ##
=========================================
+ Coverage 9.18% 9.28% +0.09%
=========================================
Files 402 402
Lines 20859 20859
=========================================
+ Hits 1916 1936 +20
+ Misses 18690 18670 -20
Partials 253 253
Continue to review full report at Codecov.
|
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/log-mock-logger |
41fbf85
to
418b06c
Compare
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
/rebase |
[REBASE] Rebase triggered by vankichi for branch: test/internal/log-mock-logger |
Signed-off-by: vankichi <kyukawa315@gmail.com>
418b06c
to
86f4414
Compare
[FORMAT] Updating license headers and formatting go codes triggered by vankichi. |
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.
[APPROVED] This PR is approved by vankichi.
Signed-off-by: vankichi kyukawa315@gmail.com
Description:
I added test of
internal/log/mock/logger
and updated its godocRelated Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: