From a625d82c788d288167f4e03ee426a29461a04f02 Mon Sep 17 00:00:00 2001 From: Emily Platzer Date: Fri, 6 Oct 2017 10:03:48 -0700 Subject: [PATCH] test: updated error message PR-URL: https://github.com/nodejs/node/pull/15906 Reviewed-By: Daijiro Wachi Reviewed-By: Benjamin Gruenbaum Reviewed-By: Ruben Bridgewater --- test/parallel/test-cluster-send-deadlock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); });