Skip to content

ci(lint): enable testifylint linter#4010

Merged
appleboy merged 1 commit intogin-gonic:masterfrom
mmorel-35:testifylint
Jul 14, 2024
Merged

ci(lint): enable testifylint linter#4010
appleboy merged 1 commit intogin-gonic:masterfrom
mmorel-35:testifylint

Conversation

@mmorel-35
Copy link
Copy Markdown
Contributor

@mmorel-35 mmorel-35 commented Jul 7, 2024

This PR enables and fixes testifylint linter to use best practices concerning testify

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.06%. Comparing base (3dc1cd6) to head (72b21b3).
Report is 65 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4010      +/-   ##
==========================================
- Coverage   99.21%   99.06%   -0.16%     
==========================================
  Files          42       44       +2     
  Lines        3182     2772     -410     
==========================================
- Hits         3157     2746     -411     
+ Misses         17       15       -2     
- Partials        8       11       +3     
Flag Coverage Δ
?
-tags "sonic avx" 99.05% <ø> (?)
-tags go_json 99.05% <ø> (?)
-tags nomsgpack 99.04% <ø> (?)
go-1.18 ?
go-1.19 ?
go-1.20 ?
go-1.21 99.06% <ø> (-0.16%) ⬇️
go-1.22 99.06% <ø> (?)
macos-latest 99.06% <ø> (-0.16%) ⬇️
ubuntu-latest 99.06% <ø> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmorel-35
Copy link
Copy Markdown
Contributor Author

@thinkerou , @appleboy ,
Would you like to review this pr ?

@appleboy appleboy changed the title enable testifylint linter ci(lint): enable testifylint linter Jul 14, 2024
@appleboy appleboy added this to the v1.11 milestone Jul 14, 2024
@appleboy appleboy merged commit 5f55c6a into gin-gonic:master Jul 14, 2024
@mmorel-35 mmorel-35 deleted the testifylint branch July 14, 2024 12:56
1911860538 pushed a commit to 1911860538/gin that referenced this pull request Feb 26, 2025
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants