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 25, 2017
1 parent 40a98d6 commit 6eb88a4
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 @@ -10,8 +10,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 6eb88a4

Please sign in to comment.