diff options
author | Nao Iizuka <iizuka@kyu-mu.net> | 2012-03-11 04:48:08 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-03-12 05:27:55 +0400 |
commit | f8ce384446d38598df53fe18d004baabb65591ff (patch) | |
tree | 025863c01a9291180cfa178798d5b58b63cd6c5c /doc | |
parent | 4472f7bbc3f50c13ee36df2806781c4b09f43c0b (diff) |
docs: correct the description of assert.ok()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/assert.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/assert.markdown b/doc/api/assert.markdown index f3c1ad2f061..c93c1e7780f 100644 --- a/doc/api/assert.markdown +++ b/doc/api/assert.markdown @@ -11,7 +11,7 @@ Throws an exception that displays the values for `actual` and `expected` separat ## assert(value, message), assert.ok(value, [message]) -Tests if value is a `true` value, it is equivalent to `assert.equal(true, value, message);` +Tests if value is truthy, it is equivalent to `assert.equal(true, !!value, message);` ## assert.equal(actual, expected, [message]) |