-
Notifications
You must be signed in to change notification settings - Fork 10
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
request.cpp coverage #64
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #64 +/- ##
===========================================
+ Coverage 85.45% 86.23% +0.77%
===========================================
Files 77 77
Lines 4269 4271 +2
===========================================
+ Hits 3648 3683 +35
+ Misses 621 588 -33
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
GCOVR code coverage report https://64.http-proto.prtest.cppalliance.org/gcovr/index.html |
1 similar comment
GCOVR code coverage report https://64.http-proto.prtest.cppalliance.org/gcovr/index.html |
2fdc538
to
aae5832
Compare
GCOVR code coverage report https://64.http-proto.prtest.cppalliance.org/gcovr/index.html |
aae5832
to
010a28e
Compare
GCOVR code coverage report https://64.http-proto.prtest.cppalliance.org/gcovr/index.html |
"Expectations" is capitalized but isn't a well-known field name |
010a28e
to
3f677e3
Compare
GCOVR code coverage report https://64.http-proto.prtest.cppalliance.org/gcovr/index.html |
src/request.cpp
Outdated
h_.md.expect.count - 1); | ||
return; | ||
} | ||
|
||
erase(field::expect); |
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.
Could this be
raw_erase_n( field::expect, h_.md.expect.count );
instead?
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.
This required a little of massaging of the metadata but I made it work and I think it's a bit cleaner than before.
3f677e3
to
e0131a6
Compare
GCOVR code coverage report https://64.http-proto.prtest.cppalliance.org/gcovr/index.html |
Pull request looks good to merge. When writing these tests you might find it helpful to author some utility functions. For example this:
might be expressed as
and
might be expressed as
|
No description provided.