mirror of https://github.com/nodejs/node.git
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>pull/23548/merge
parent
8f68ed92fc
commit
8c86463d9f
|
@ -44,7 +44,7 @@ async function runTests() {
|
|||
await checkAsyncStackTrace(session);
|
||||
|
||||
await session.runToCompletion();
|
||||
assert.strictEqual(55, (await instance.expectShutdown()).exitCode);
|
||||
assert.strictEqual((await instance.expectShutdown()).exitCode, 55);
|
||||
}
|
||||
|
||||
runTests();
|
||||
|
|
Loading…
Reference in New Issue