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

Allow regex in brownie.reverts #864

Merged
merged 4 commits into from
Nov 24, 2020
Merged

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Allow use of regex matching in brownie.reverts context manager (continuation of #862)

Closes #807

How I did it

Added two new kwargs, revert_pattern and dev_revert_pattern, for matching error strings and dev revert strings.

How to verify it

Run the tests. I've added some new tests to cover this.

@iamdefinitelyahuman iamdefinitelyahuman merged commit e81cb67 into master Nov 24, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the feat-revert-regex branch November 24, 2020 18:42
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.

Allow regex in brownie.reverts
1 participant