diff --git a/test/parallel/test-cluster-master-kill.js b/test/parallel/test-cluster-master-kill.js index f00dc48b71fad2..417ab193c9bb1f 100644 --- a/test/parallel/test-cluster-master-kill.js +++ b/test/parallel/test-cluster-master-kill.js @@ -79,7 +79,8 @@ if (cluster.isWorker) { })); process.once('exit', () => { - assert.strictEqual(typeof pid, 'number', 'did not get worker pid info'); + assert.strictEqual(typeof pid, 'number', + `got ${pid} instead of a worker pid`); assert.strictEqual(alive, false, 'worker was alive after master died'); });