Skip to content

Commit

Permalink
test: updated error message
Browse files Browse the repository at this point in the history
PR-URL: #15906
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
craftninja authored and MylesBorins committed Oct 11, 2017
1 parent 3b682aa commit a625d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-send-deadlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const net = require('net');
if (cluster.isMaster) {
const worker = cluster.fork();
worker.on('exit', function(code, signal) {
assert.strictEqual(code, 0, 'Worker exited with an error code');
assert(!signal, 'Worker exited by a signal');
assert.strictEqual(code, 0, `Worker exited with an error code: ${code}`);
assert(!signal, `Worker exited by a signal: ${signal}`);
server.close();
});

Expand Down

0 comments on commit a625d82

Please sign in to comment.