Skip to content

Commit 152e7a5

Browse files
ruyadornojasnell
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 <[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]>
1 parent 0d92159 commit 152e7a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 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)