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 rvagg committed Dec 4, 2015
1 parent c2b1ee6 commit 688ad38
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 688ad38

Please sign in to comment.