test: fix argument order for assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/23485 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
cb6c33e368
commit
446aadd2e2
@ -81,7 +81,7 @@ async function runTests() {
|
|||||||
await session.waitForBreakOnLine(0, 'evalmachine.<anonymous>');
|
await session.waitForBreakOnLine(0, 'evalmachine.<anonymous>');
|
||||||
|
|
||||||
await session.runToCompletion();
|
await session.runToCompletion();
|
||||||
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
|
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
runTests();
|
runTests();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user