Skip to content

test: refactor test suite for excluded paths and extensions#80

Merged
appleboy merged 1 commit into
masterfrom
lint
Mar 23, 2024
Merged

test: refactor test suite for excluded paths and extensions#80
appleboy merged 1 commit into
masterfrom
lint

Conversation

@appleboy

Copy link
Copy Markdown
Member
  • Update test function name to TestExcludedPathsAndExtensions
  • Add test cases for excluded paths and extensions
  • Modify router usage in test function
  • Adjust assertions for content encoding, vary, body, and content length

- Update test function name to `TestExcludedPathsAndExtensions`
- Add test cases for excluded paths and extensions
- Modify router usage in test function
- Adjust assertions for content encoding, vary, body, and content length

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@codecov-commenter

codecov-commenter commented Mar 23, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.35%. Comparing base (d3b1ccd) to head (0ae2960).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #80   +/-   ##
=======================================
  Coverage   81.35%   81.35%           
=======================================
  Files           3        3           
  Lines         118      118           
=======================================
  Hits           96       96           
  Misses         19       19           
  Partials        3        3           
Flag Coverage Δ
go- 81.35% <ø> (ø)
go-1.18 81.35% <ø> (ø)
go-1.19 81.35% <ø> (ø)
go-1.20 81.35% <ø> (ø)
go-1.21 81.35% <ø> (ø)
go-1.22 81.35% <ø> (ø)
macos-latest 81.35% <ø> (ø)
ubuntu-latest 81.35% <ø> (ø)

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.

@appleboy appleboy merged commit ef7d482 into master Mar 23, 2024
@appleboy appleboy deleted the lint branch March 23, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants