Skip to content

Conversation

leo-aa88
Copy link
Contributor

@leo-aa88 leo-aa88 commented Aug 8, 2023

Increased unit tests coverage for response_writer.go and render/json.go.

@leo-aa88
Copy link
Contributor Author

There seems to be an issue with golangci-lint which is causing this and another PR to fail the checks.

@appleboy
Copy link
Member

Please rebase the branch.

@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Merging #3691 (9671275) into master (d16fdb1) will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3691      +/-   ##
==========================================
+ Coverage   99.01%   99.20%   +0.19%     
==========================================
  Files          42       42              
  Lines        3157     3157              
==========================================
+ Hits         3126     3132       +6     
+ Misses         21       17       -4     
+ Partials       10        8       -2     
Flag Coverage Δ
99.20% <ø> (+0.19%) ⬆️
go-1.18 99.11% <ø> (+0.19%) ⬆️
go-1.19 99.20% <ø> (+0.19%) ⬆️
go-1.20 99.20% <ø> (+0.19%) ⬆️
macos-latest 99.20% <ø> (+0.19%) ⬆️
ubuntu-latest 99.20% <ø> (+0.19%) ⬆️

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

see 2 files with indirect coverage changes

@appleboy appleboy added the test label Aug 12, 2023
@appleboy appleboy added this to the v1.10 milestone Aug 12, 2023
@appleboy appleboy merged commit bb2d8cf into gin-gonic:master Aug 12, 2023
@leo-aa88 leo-aa88 deleted the fix/increase-unit-test-coverage branch August 12, 2023 16:16
leo-aa88 added a commit to leo-aa88/gin that referenced this pull request Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants