Skip to content

Commit

Permalink
test: fixed strictEqual arguments order
Browse files Browse the repository at this point in the history
Fixes usage of strictEqual arguments order in
test/parallel/test-process-wrap.js

Part of Node+JS Interactive 2018 Code & Learn

PR-URL: #23576
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
ruyadorno authored and MylesBorins committed Oct 30, 2018
1 parent 2ea9619 commit b68ee22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-process-wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ p.onexit = function(exitCode, signal) {
p.close();
pipe.readStart();

assert.strictEqual(0, exitCode);
assert.strictEqual('', signal);
assert.strictEqual(exitCode, 0);
assert.strictEqual(signal, '');

processExited = true;
};
Expand Down

0 comments on commit b68ee22

Please sign in to comment.