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 f5fd8a2

Browse filesBrowse files
MokhammadDaniyalMylesBorins
authored andcommitted
test: fixed incorrect variable order in assert.strictEqual()
PR-URL: #23502 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 66c82ad commit f5fd8a2
Copy full SHA for f5fd8a2

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-tracing-no-crash.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tracing-no-crash.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const assert = require('assert');
44
const { spawn } = require('child_process');
55

66
function CheckNoSignalAndErrorCodeOne(code, signal) {
7-
assert.strictEqual(null, signal);
8-
assert.strictEqual(1, code);
7+
assert.strictEqual(signal, null);
8+
assert.strictEqual(code, 1);
99
}
1010

1111
const child = spawn(process.execPath,

0 commit comments

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