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

[Feature] Add toThrowWith to test for specific error message #314

Open
willemneal opened this issue Aug 27, 2020 · 1 comment
Open

[Feature] Add toThrowWith to test for specific error message #314

willemneal opened this issue Aug 27, 2020 · 1 comment
Assignees
Labels
Enhancement 🌴 New feature or request Good First Issue 🥇 Good for newcomers

Comments

@willemneal
Copy link
Collaborator

Currently toThrow is just a boolean test, and toThrowWith could allow for a test string to be applied to the stack trace generated by the exception.

@willemneal willemneal added Enhancement 🌴 New feature or request Good First Issue 🥇 Good for newcomers labels Aug 27, 2020
@jtenner
Copy link
Contributor

jtenner commented Apr 28, 2021

I will think about this some more soon.

@jtenner jtenner self-assigned this Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 🌴 New feature or request Good First Issue 🥇 Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants