test: updated assert test values to doc standards
PR-URL: https://github.com/nodejs/node/pull/23593 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
parent
4b7893db94
commit
c56f38f6f9
@ -39,7 +39,7 @@ async function runTest() {
|
|||||||
const session = await child.connectInspectorSession();
|
const session = await child.connectInspectorSession();
|
||||||
await testBreakpointOnStart(session);
|
await testBreakpointOnStart(session);
|
||||||
await session.runToCompletion();
|
await session.runToCompletion();
|
||||||
assert.strictEqual(1, (await child.expectShutdown()).exitCode);
|
assert.strictEqual((await child.expectShutdown()).exitCode, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
runTest();
|
runTest();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user