We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
assertThrow always passes when the message of the error is "".
function badFunc() { throw new Error(''); } // The following assertion should be failed but passed badFunc.should.throw('Some Message');
The text was updated successfully, but these errors were encountered:
Fix issue chaijs#137, test message existence by using message!=null r…
91d2805
…ather than using message
Merge pull request #138 from timnew/master
ba323f6
Fix defect #137 assertThrow always passes when message is empty
Merge branch 'master' into feature/saucelabs
30b48bd
* master: Fix issue #137, test message existence by using message!=null rather than using message Fixed backwards negation messages.
No branches or pull requests
assertThrow always passes when the message of the error is "".
The text was updated successfully, but these errors were encountered: