Skip to content

Commit 04769c4

Browse files
crpahlMylesBorins
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 <[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]>
1 parent 042e974 commit 04769c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)