test: correctly order assertion arguments
PR-URL: https://github.com/nodejs/node/pull/23473 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
b22903eacd
commit
cf7b5a8dc2
@ -34,7 +34,7 @@ async function runTests() {
|
|||||||
await testBreakpointOnStart(session);
|
await testBreakpointOnStart(session);
|
||||||
await session.runToCompletion();
|
await session.runToCompletion();
|
||||||
|
|
||||||
assert.strictEqual(55, (await child.expectShutdown()).exitCode);
|
assert.strictEqual((await child.expectShutdown()).exitCode, 55);
|
||||||
}
|
}
|
||||||
|
|
||||||
runTests();
|
runTests();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user