Skip to content
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

Fix and improve eof.read_valid_eof1_header test #659

Merged
merged 2 commits into from
Jun 1, 2023

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented May 30, 2023

No description provided.

@gumb0 gumb0 force-pushed the read-valid-eof1-header-fix branch from 8da7e5f to 96c3118 Compare May 30, 2023 18:56
@gumb0 gumb0 force-pushed the read-valid-eof1-header-fix branch from 96c3118 to 78d12f9 Compare May 30, 2023 19:00
@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Merging #659 (e401347) into master (8fa360b) will decrease coverage by 0.01%.
The diff coverage is 91.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #659      +/-   ##
==========================================
- Coverage   97.38%   97.37%   -0.01%     
==========================================
  Files          80       80              
  Lines        7949     7958       +9     
==========================================
+ Hits         7741     7749       +8     
- Misses        208      209       +1     
Flag Coverage Δ
blockchaintests 63.12% <ø> (ø)
statetests 73.99% <ø> (ø)
unittests 94.94% <91.66%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
test/unittests/eof_test.cpp 97.05% <91.66%> (-2.95%) ⬇️

@gumb0 gumb0 marked this pull request as ready for review May 31, 2023 13:07
@gumb0 gumb0 requested review from axic, chfast and rodiazet May 31, 2023 13:29
};
std::string nops_255;
for (int i = 0; i < 255; ++i)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be fill_n().

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, because fill_n() is only for filling with one repeated character.

@gumb0 gumb0 merged commit 6e2a589 into master Jun 1, 2023
@gumb0 gumb0 deleted the read-valid-eof1-header-fix branch June 1, 2023 10:27
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