mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
0d9215986f
commit
152e7a53c2
1 file changed
+2
-2
@@ -38,8 +38,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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user