From 94586cef1ab924df8c5dc5957c31a2119bacbe49 Mon Sep 17 00:00:00 2001 From: jmcgui05 Date: Sun, 8 Oct 2017 19:56:22 -0500 Subject: [PATCH] test: assert.strictEqual using template literals --- test/parallel/test-cluster-process-disconnect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-cluster-process-disconnect.js b/test/parallel/test-cluster-process-disconnect.js index 2174d118c3244a..1d52d1ca3f65d8 100644 --- a/test/parallel/test-cluster-process-disconnect.js +++ b/test/parallel/test-cluster-process-disconnect.js @@ -6,8 +6,8 @@ const cluster = require('cluster'); if (cluster.isMaster) { const worker = cluster.fork(); worker.on('exit', common.mustCall((code, signal) => { - assert.strictEqual(code, 0, 'worker did not exit normally'); - assert.strictEqual(signal, null, 'worker did not exit normally'); + assert.strictEqual(code, 0, `Worker did not exit normally with code: ${code}`); + assert.strictEqual(signal, null, `Worker did not exit normally with signal: ${signal}`); })); } else { const net = require('net');