Skip to content

Commit a0468fe

Browse files
shannonfarvoldenjasnell
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 0579784 commit a0468fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)