Skip to content

Commit 0d9e54b

Browse files
crpahljasnell
authored andcommitted
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: #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>
1 parent c254e40 commit 0d9e54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stdin-from-file.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ childProcess.exec(cmd, common.mustCall(function(err, stdout, stderr) {
3636

3737
assert.ifError(err);
3838
assert.strictEqual(stdout, `hello world\r\n${string}`);
39-
assert.strictEqual('', stderr);
39+
assert.strictEqual(stderr, '');
4040
}));

0 commit comments

Comments
 (0)