diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-04-30 00:27:20 +0800 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-05-04 09:20:17 +0200 |
commit | aa281d284afba954fc438530757441a7a5b45109 (patch) | |
tree | ec0df557eace85999a2ca489a51ec290025fbf47 | |
parent | a55457c7138955206720a99c9ae148eed767928b (diff) | |
download | node-new-aa281d284afba954fc438530757441a7a5b45109.tar.gz |
test: better output for test-report-uv-handles.js
PR-URL: https://github.com/nodejs/node/pull/27479
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r-- | test/report/test-report-uv-handles.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/report/test-report-uv-handles.js b/test/report/test-report-uv-handles.js index 5167716894..2061920432 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}`); |