mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
c6f166bf21
commit
d14b07b501
1 file changed
+1
-1
@@ -81,7 +81,7 @@ async function runTests() {
|
||||
await session.waitForBreakOnLine(0, 'evalmachine.<anonymous>');
|
||||
|
||||
await session.runToCompletion();
|
||||
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
|
||||
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
|
||||
}
|
||||
|
||||
runTests();
|
||||
Reference in new issue
Block a user