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
Documentation for assert describes:
assert
assert(value[, message]), assert.ok(value[, message]) Tests if value is truthy. It is equivalent to assert.equal(true, !!value, message).
But assert.equal parameters are actual value first, then expected value. The documentation should read:
assert.equal
assert(value[, message]), assert.ok(value[, message])# Tests if value is truthy. It is equivalent to assert.equal(!!value, true, message).
The text was updated successfully, but these errors were encountered:
@birnam mind to make a Pull Request for it? I'd gladly review it!
Sorry, something went wrong.
Sure -- PR: #3533
This was landed in 471aa5a
No branches or pull requests
Documentation for
assert
describes:But
assert.equal
parameters are actual value first, then expected value. The documentation should read:The text was updated successfully, but these errors were encountered: