mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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>
This commit is contained in:
1 parent
a55457c713
commit
aa281d284a
1 file changed
+1
-1
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user