From aa281d284afba954fc438530757441a7a5b45109 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Tue, 30 Apr 2019 00:27:20 +0800 Subject: [PATCH] test: better output for test-report-uv-handles.js PR-URL: https://github.com/nodejs/node/pull/27479 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig --- test/report/test-report-uv-handles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/report/test-report-uv-handles.js b/test/report/test-report-uv-handles.js index 51677168947bf4..20619204325f41 100644 --- a/test/report/test-report-uv-handles.js +++ b/test/report/test-report-uv-handles.js @@ -85,7 +85,7 @@ if (process.argv[2] === 'child') { const report_msg = 'Report files were written: unexpectedly'; child.stdout.on('data', (chunk) => { stdout += chunk; }); child.on('exit', common.mustCall((code, signal) => { - assert.deepStrictEqual(code, 0, 'Process exited unexpectedly with code' + + assert.deepStrictEqual(code, 0, 'Process exited unexpectedly with code: ' + `${code}`); assert.deepStrictEqual(signal, null, 'Process should have exited cleanly,' + ` but did not: ${signal}`);