mirror of https://github.com/nodejs/node.git
assert: replace !!!value with just !value
Not harmful, just code cleanup. Fixes #5885.pull/5010/head
parent
6bd922fce8
commit
dc9acd4fae
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue