Skip to content

soltest: Improve handling invalid EVMVersion syntax in test files. #7916

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

Merged
merged 1 commit into from
Dec 9, 2019

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Dec 6, 2019

Fixes #7594

Improves handling invalid EVMVersion values in .sol test file's metadata section. Before you saw a huge mess of c++ source code when test test failed because of that.

Now you see still an exception, but a much smaller and more descriptive one.

@christianparpart christianparpart requested review from erak and axic December 6, 2019 11:35
@christianparpart christianparpart changed the title [i]soltest: properly handle invalid EVMVersion syntax in test files soltest: Improve handling invalid EVMVersion syntax in test files. Dec 6, 2019
@christianparpart christianparpart force-pushed the fix-testcase-invalid-evmversion-handling branch from e8706f5 to 4b7d7f8 Compare December 6, 2019 11:53
@christianparpart
Copy link
Member Author

NB: In my force-push I just updated the commit log message.

@christianparpart christianparpart force-pushed the fix-testcase-invalid-evmversion-handling branch from 4b7d7f8 to 04beee2 Compare December 9, 2019 09:08
@christianparpart christianparpart force-pushed the fix-testcase-invalid-evmversion-handling branch from 04beee2 to 48dd1e3 Compare December 9, 2019 09:15
@erak erak merged commit d666756 into develop Dec 9, 2019
@erak erak deleted the fix-testcase-invalid-evmversion-handling branch December 9, 2019 09:51
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.

Test parser fails on wrong EVMVersion syntax
2 participants