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 Nov 3, 2015
1 parent d006d6a commit 471aa5a
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 471aa5a

Please sign in to comment.