Skip to content

Commit f5fd8a2

Browse files
MokhammadDaniyalMylesBorins
authored andcommitted
test: fixed incorrect variable order in assert.strictEqual()
PR-URL: #23502 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 66c82ad commit f5fd8a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines 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)