Skip to content

Commit bc89f9b

Browse files
ruyadornoBridgeAR
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 6df946c commit bc89f9b

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
@@ -38,8 +38,8 @@ p.onexit = function(exitCode, signal) {
3838
p.close();
3939
pipe.readStart();
4040

41-
assert.strictEqual(0, exitCode);
42-
assert.strictEqual('', signal);
41+
assert.strictEqual(exitCode, 0);
42+
assert.strictEqual(signal, '');
4343

4444
processExited = true;
4545
};

0 commit comments

Comments
 (0)