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 4bcdc1b

Browse filesBrowse files
TrottBethGriggs
authored andcommitted
test: fix assertion argument order
Fix the assertion argument order so that it will report "actual" and "expected" correctly when the test fails. Ref: #19263 PR-URL: #19264 Refs: #19263 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent b67bf38 commit 4bcdc1b
Copy full SHA for 4bcdc1b

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-stop-profile-after-done.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-inspector-stop-profile-after-done.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function runTests() {
2424
'Waiting for the debugger to disconnect...');
2525
await session.send({ method: 'Profiler.stop' });
2626
session.disconnect();
27-
assert.strictEqual(0, (await child.expectShutdown()).exitCode);
27+
assert.strictEqual((await child.expectShutdown()).exitCode, 0);
2828
}
2929

3030
common.crashOnUnhandledRejection();

0 commit comments

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