Skip to content

Commit 3adfe99

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 <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 f55b4f1 commit 3adfe99

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)