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:
@CAYdenberg 2018-10-12 10:11:12 -07:00 committed by Ruben Bridgewater
parent 661e7323ee
commit af68c554a5
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -45,7 +45,7 @@ async function runTests() {
'break2', 'runTest:8');
await session.runToCompletion();
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
}
function debuggerPausedAt(msg, functionName, previousTickLocation) {