From 06162e0c704dac38897faadf4fae22ab44470b61 Mon Sep 17 00:00:00 2001 From: David Woods Date: Mon, 26 Oct 2015 13:51:30 -0400 Subject: [PATCH] doc:fix function param order in assert doc --- doc/api/assert.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/assert.markdown b/doc/api/assert.markdown index 7bf6ebb40fd30a..b81037287b499b 100644 --- a/doc/api/assert.markdown +++ b/doc/api/assert.markdown @@ -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])