test: fix assert.strictEqual() argument order
PR-URL: https://github.com/nodejs/node/pull/23515 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
8f68ed92fc
commit
8c86463d9f
@ -44,7 +44,7 @@ async function runTests() {
|
|||||||
await checkAsyncStackTrace(session);
|
await checkAsyncStackTrace(session);
|
||||||
|
|
||||||
await session.runToCompletion();
|
await session.runToCompletion();
|
||||||
assert.strictEqual(55, (await instance.expectShutdown()).exitCode);
|
assert.strictEqual((await instance.expectShutdown()).exitCode, 55);
|
||||||
}
|
}
|
||||||
|
|
||||||
runTests();
|
runTests();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user