test: fix argument order in asserts
PR-URL: https://github.com/nodejs/node/pull/23499 Reviewed-By: Guy Bedford <guybedford@gmail.com> 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> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
661e7323ee
commit
af68c554a5
@ -45,7 +45,7 @@ async function runTests() {
|
|||||||
'break2', 'runTest:8');
|
'break2', 'runTest:8');
|
||||||
|
|
||||||
await session.runToCompletion();
|
await session.runToCompletion();
|
||||||
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
|
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function debuggerPausedAt(msg, functionName, previousTickLocation) {
|
function debuggerPausedAt(msg, functionName, previousTickLocation) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user