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 <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • 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.