Skip to content

Fail tests if complain_on_error=False but no error happens #1171

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
Sep 14, 2022

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Sep 1, 2022

This removes the need to assert that an expected failure indeed happened, and
hardens tests against situations where it's unclear if an error should happen.

A few tests required tweaking, in all cases because complain_on_error was wrongly used.

This removes the need to assert that the expected failure indeed happened, and
hardens tests against situations where is unclear if an error should happen.
@mosteo mosteo marked this pull request as ready for review September 1, 2022 17:04
@mosteo mosteo merged commit 1ac3cce into alire-project:master Sep 14, 2022
@mosteo mosteo deleted the fix/complain branch September 14, 2022 07:54
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