Skip to content

Commit ab052af

Browse files
@CAYdenbergjasnell
@CAYdenberg
authored andcommitted
test: fix argument order in asserts
PR-URL: #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>
1 parent 0eb5f13 commit ab052af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-inspector-async-stack-traces-promise-then.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function runTests() {
4545
'break2', 'runTest:8');
4646

4747
await session.runToCompletion();
48-
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
48+
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
4949
}
5050

5151
function debuggerPausedAt(msg, functionName, previousTickLocation) {

0 commit comments

Comments
 (0)