assert: replace !!!value with just !value

Not harmful, just code cleanup.

Fixes #5885.
This commit is contained in:
Ben Noordhuis 2013-07-30 13:28:48 +02:00
parent 6bd922fce8
commit dc9acd4fae

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;