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 <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
birnam authored and Myles Borins committed Nov 16, 2015
1 parent d02365b commit dfc2707
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 dfc2707

Please sign in to comment.