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

feat: add assert deepMatch methods #1644

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

a2937
Copy link

@a2937 a2937 commented Oct 4, 2024

This adds and test two brand new assert methods. The methods are assert.deepMatch and assert.notDeepMatch. The purpose of these two methods are to ensure that full regex matches are caught like in the case of the regex "/fr[e3]|[e3]|[e3] money/i" and the test string "fr33 mon3y". While there are partial methods, there wasn't a way to assert there weren't.

Appropriate tests have been added.

Closes #1643.

@a2937 a2937 requested a review from a team as a code owner October 4, 2024 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.

[Feature Request] - Add a fulll regex match method on assert
1 participant