Skip to content

Commit

Permalink
test: update strictEqual arguments order
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
crpahl authored and BridgeAR committed Oct 15, 2018
1 parent 620c977 commit f034606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-stdin-from-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');
}));

0 comments on commit f034606

Please sign in to comment.