-
Notifications
You must be signed in to change notification settings - Fork 34
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
Raise validation error on invalid start function index #353
Conversation
@@ -781,15 +781,15 @@ TEST(parser, start_invalid_index) | |||
make_section(3, func_section) + make_section(8, start_section) + | |||
make_section(10, code_section); | |||
|
|||
EXPECT_THROW_MESSAGE(parse(bin), parser_error, "invalid start function index"); |
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.
these tests should better be moved to validation_test.cpp
now
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.
Hm, I did that quite a few times. Perhaps we should merge these small changes as is and then do a sweep of moving things across?
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.
Fine
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.
Let's coordinate with moving bigger code pieces.
Also fixed stat function type checking -- should that be in a new PR or extend this one? |
Codecov Report
@@ Coverage Diff @@
## master #353 +/- ##
=======================================
Coverage 98.84% 98.84%
=======================================
Files 38 38
Lines 11575 11608 +33
=======================================
+ Hits 11441 11474 +33
Misses 134 134 |
No description provided.