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

Apply the same logic in .throws() to .doesNotThrow() so it matche… #635

Closed
wants to merge 1 commit into from

Conversation

brunops
Copy link

@brunops brunops commented Mar 8, 2016

…it matches error messages

…s error messages

- `.doesNotThrow()` is currently not matching the error message, although its description says so
- Changed `.Throw` to `.throw` so its consistent with `.throws()`
- Added test
- See chaijs#634 for examples
@brunops
Copy link
Author

brunops commented Mar 8, 2016

Just saw #551, this issue might be fixed there, feel free to close this if that's the case.

@keithamus
Copy link
Member

@lucasfcosta again - how does #683 affect this?

@lucasfcosta
Copy link
Member

lucasfcosta commented Jun 24, 2016

@keithamus Hmmm, this one is interesting, I think we have a problem with the assert interface.
It could also accept an error mesage.
The wrong behavior has been fixed, but the assert interface needs some polishment.
I'll take my time this afternoon to finish everything related to #683, so I might send a PR for this too.
Let's keep this one open for now just keep this on our sight, thanks for noticing.

@meeber
Copy link
Contributor

meeber commented Aug 17, 2016

@lucasfcosta I've lost track where we stand on this. Do we still have work to do with the error stuff?

@lucasfcosta
Copy link
Member

Thanks for noticing, @meeber!
This one is done. #742 solves it.

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.

None yet

4 participants