assert: replace !!!value with just !value

Not harmful, just code cleanup.

Fixes #5885.
pull/5010/head
Ben Noordhuis 2013-07-30 13:28:48 +02:00
parent 6bd922fce8
commit dc9acd4fae
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ assert.fail = fail;
// assert.strictEqual(true, guard, message_opt);.
function ok(value, message) {
if (!!!value) fail(value, true, message, '==', assert.ok);
if (!value) fail(value, true, message, '==', assert.ok);
}
assert.ok = ok;