mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: Changed assert.equal to assert.strictEqual
Updated test-cluster-send-deadlock.js to change assert.equal to assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9902 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
1eb581779d
commit
ae2bf0a761
1 file changed
+1
-1
@@ -10,7 +10,7 @@ var net = require('net');
|
||||
if (cluster.isMaster) {
|
||||
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');
|
||||
server.close();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user