cloudwego / hertz

Go HTTP framework with high-performance and strong-extensibility for building micro-services.
https://www.cloudwego.io
Apache License 2.0
5.12k stars 496 forks source link

Increased unit test coverage for pkg/protocol/header_test #1074

Closed XiaoYi-byte closed 6 months ago

XiaoYi-byte commented 6 months ago

What type of PR is this?

Check the PR title.

(Optional) Translate the PR title into Chinese.

提高pkg/protocol/header_test的测试覆盖率从77.2%到80.9%

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: Increased unit test coverage for pkg/protocol/header_test from 77.2% to 80.9% zh(optional): 提高pkg/protocol/header_test的测试覆盖率从77.2%到80.9%

(Optional) Which issue(s) this PR fixes:

Fixes #257 #### (Optional) The PR that updates user documentation:
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.84%. Comparing base (f91ce33) to head (df48c98).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1074 +/- ## =========================================== + Coverage 82.52% 82.84% +0.31% =========================================== Files 98 98 Lines 10030 10030 =========================================== + Hits 8277 8309 +32 + Misses 1257 1232 -25 + Partials 496 489 -7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.