test: update strictEqual arguments order
The argument order in the strictEqual check against stderr is in the wrong order. The first argument is now the actual value and the second argument is the expected value. PR-URL: https://github.com/nodejs/node/pull/23552 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> 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>
This commit is contained in:
parent
620c97716c
commit
f0346065a7
@ -36,5 +36,5 @@ childProcess.exec(cmd, common.mustCall(function(err, stdout, stderr) {
|
||||
|
||||
assert.ifError(err);
|
||||
assert.strictEqual(stdout, `hello world\r\n${string}`);
|
||||
assert.strictEqual('', stderr);
|
||||
assert.strictEqual(stderr, '');
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user