Skip to content

Commit ab052af

Browse files
@CAYdenbergjasnell
@CAYdenberg
authored andcommitted
test: fix argument order in asserts
PR-URL: #23499 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 0eb5f13 commit ab052af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)