Skip to content

Commit f034606

Browse files
crpahlBridgeAR
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: nodejs#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 620c977 commit f034606

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
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)