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 9dc11e3

Browse filesBrowse files
FieldOfPoppiesMylesBorins
authored andcommitted
test: switch arguments of assert()
The arguments of the assert were passed in the wrong order (expected, actual). This would have been confusing in case of an error. Changed it to be (actual, expected) PR-URL: #23524 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 4f116a7 commit 9dc11e3
Copy full SHA for 9dc11e3

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-when-eval.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-inspector-break-when-eval.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function runTests() {
6363
await breakOnLine(session);
6464
await stepOverConsoleStatement(session);
6565
await session.runToCompletion();
66-
assert.strictEqual(0, (await child.expectShutdown()).exitCode);
66+
assert.strictEqual((await child.expectShutdown()).exitCode, 0);
6767
}
6868

6969
runTests();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.