diff --git a/test/parallel/test-cluster-send-deadlock.js b/test/parallel/test-cluster-send-deadlock.js index da503f67aa3a86..668ef517e0a27f 100644 --- a/test/parallel/test-cluster-send-deadlock.js +++ b/test/parallel/test-cluster-send-deadlock.js @@ -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(); });