-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat(levm): ensure returned errors are correct #1225
feat(levm): ensure returned errors are correct #1225
Conversation
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.
In exception_is_expected()
it would be good if all returned errors were implemented (except for the TYPE 3 FORK error).
Anyway, it looks good to me. I would have liked to test what happens if I change something in the matches!
to see it breaking, but it looks like it works fine.
For merging don't forget to comment any added println!
for debugging
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.
LGTM. Left one nit.
55517d5
into
levm/fixing_ef_tests_execution
**Motivation** This PR is a revival of an older PR that implemented this feature, and merged the branch in another which PR was closed. This is an adaptation of it to the current codebase. **Description** See #1225 for more details. --------- Co-authored-by: JereSalo <jeresalo17@gmail.com> Co-authored-by: Jeremías Salomón <48994069+JereSalo@users.noreply.github.com>
Motivation
Currently in EF tests we don't verify that the error returned by levm matches with the expected, the goal is to verify it, and print an error if it does not match.
Description
This PR includes:
exception_is_expected()