Skip to content

Commit

Permalink
test: fixed incorrect variable order in assert.strictEqual()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
MokhammadDaniyal authored and jasnell committed Oct 17, 2018
1 parent fd3b1d1 commit f6204c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-tracing-no-crash.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const assert = require('assert');
const { spawn } = require('child_process');

function CheckNoSignalAndErrorCodeOne(code, signal) {
assert.strictEqual(null, signal);
assert.strictEqual(1, code);
assert.strictEqual(signal, null);
assert.strictEqual(code, 1);
}

const child = spawn(process.execPath,
Expand Down

0 comments on commit f6204c5

Please sign in to comment.