Skip to content

Commit b3e43a6

Browse files
shannonfarvoldenMylesBorins
authored andcommitted
test: fix parameter order passed to strictEqual
strictEqual() expects the first argument to be the actual value and the second argument to be the expected value. This fix will correctly label the AssertionError.: PR-URL: #23577 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 484dccb commit b3e43a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-inspector-break-e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async function runTests() {
1717
]);
1818
await session.waitForBreakOnLine(0, '[eval]');
1919
await session.runToCompletion();
20-
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
20+
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
2121
}
2222

2323
runTests();

0 commit comments

Comments
 (0)