Browse Source

test: change assert.equal to assert.strictEqual

PR-URL: https://github.com/nodejs/node/pull/9946
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
v6.x
Aileen 8 years ago
committed by Anna Henningsen
parent
commit
653f2b76f3
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      test/parallel/test-cluster-send-handle-twice.js

2
test/parallel/test-cluster-send-handle-twice.js

@ -14,7 +14,7 @@ if (cluster.isMaster) {
for (var i = 0; i < workers.toStart; ++i) {
var worker = cluster.fork();
worker.on('exit', function(code, signal) {
assert.equal(code, 0, 'Worker exited with an error code');
assert.strictEqual(code, 0, 'Worker exited with an error code');
assert(!signal, 'Worker exited by a signal');
});
}

Loading…
Cancel
Save