Skip to content

Commit

Permalink
doc:fix function param order in assert doc
Browse files Browse the repository at this point in the history
PR-URL: #3533
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
birnam authored and jasnell committed Dec 17, 2015
1 parent a2efe4c commit cf4b65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/assert.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ separated by the provided operator.
## assert(value[, message]), assert.ok(value[, message])

Tests if value is truthy. It is equivalent to
`assert.equal(true, !!value, message)`.
`assert.equal(!!value, true, message)`.

## assert.equal(actual, expected[, message])

Expand Down

0 comments on commit cf4b65c

Please sign in to comment.