Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNao Iizuka <iizuka@kyu-mu.net>2012-03-11 04:48:08 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-03-12 05:27:55 +0400
commitf8ce384446d38598df53fe18d004baabb65591ff (patch)
tree025863c01a9291180cfa178798d5b58b63cd6c5c /doc
parent4472f7bbc3f50c13ee36df2806781c4b09f43c0b (diff)
docs: correct the description of assert.ok()
Diffstat (limited to 'doc')
-rw-r--r--doc/api/assert.markdown2
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])