Browse Source

doc:fix function param order in assert doc

PR-URL: https://github.com/nodejs/node/pull/3533
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
process-exit-stdio-flushing
David Woods 9 years ago
committed by James M Snell
parent
commit
471aa5a989
  1. 2
      doc/api/assert.markdown

2
doc/api/assert.markdown

@ -14,7 +14,7 @@ separated by the provided operator.
## assert(value[, message]), assert.ok(value[, message]) ## assert(value[, message]), assert.ok(value[, message])
Tests if value is truthy. It is equivalent to Tests if value is truthy. It is equivalent to
`assert.equal(true, !!value, message)`. `assert.equal(!!value, true, message)`.
## assert.equal(actual, expected[, message]) ## assert.equal(actual, expected[, message])

Loading…
Cancel
Save