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 <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>
  • 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.