mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
assert: replace !!!value with just !value
Not harmful, just code cleanup. Fixes #5885.
This commit is contained in:
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
Block a user