Skip to content

Commit c1288fe

Browse files
shannonfarvoldenTrott
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 <anna@addaleax.net> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 6cd5c74 commit c1288fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

2222
runTests();

0 commit comments

Comments
 (0)