Skip to content

Commit b68ee22

Browse files
ruyadornoMylesBorins
authored andcommitted
test: fixed strictEqual arguments order
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>
1 parent 2ea9619 commit b68ee22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-process-wrap.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ p.onexit = function(exitCode, signal) {
3636
p.close();
3737
pipe.readStart();
3838

39-
assert.strictEqual(0, exitCode);
40-
assert.strictEqual('', signal);
39+
assert.strictEqual(exitCode, 0);
40+
assert.strictEqual(signal, '');
4141

4242
processExited = true;
4343
};

0 commit comments

Comments
 (0)