Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b3e43a6

Browse filesBrowse 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 484dccb commit b3e43a6
Copy full SHA for b3e43a6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/sequential/test-inspector-break-e.js
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.