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(fail): show mismatched error message on error #16

Merged
merged 1 commit into from
May 17, 2024

Conversation

arikkfir
Copy link
Owner

This change makes the "Fail" matcher print the mismatched error message when it doesn't match any pattern.

This makes it easier to debug failing tests when the error does not match any of the patterns, but you don't know what error was actually provided.

@arikkfir arikkfir added the feature New features and functionality label May 17, 2024
@arikkfir arikkfir self-assigned this May 17, 2024
This change makes the "Fail" matcher print the mismatched error message
when it doesn't match any pattern.

This makes it easier to debug failing tests when the error does not
match any of the patterns, but you don't know what error was actually
provided.
@arikkfir arikkfir force-pushed the feat/show-mismatched-error-in-fail-matcher branch from 0ff9645 to 7ec62f2 Compare May 17, 2024 17:28
@arikkfir arikkfir merged commit bed70bc into main May 17, 2024
4 checks passed
@arikkfir arikkfir deleted the feat/show-mismatched-error-in-fail-matcher branch May 17, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features and functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant