Skip to content

Commit

Permalink
test: remove custom error message
Browse files Browse the repository at this point in the history
Default error message contains the actual and expected values,
which is more informative than the custom error message to be deleted.

PR-URL: #19526
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
DingDean authored and tniessen committed Mar 25, 2018
1 parent 54fbbb1 commit 85a3d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readfilesync-pipe-large.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const node = JSON.stringify(process.execPath);
const cmd = `cat ${filename} | ${node} ${f} child`;
exec(cmd, { maxBuffer: 1000000 }, function(err, stdout, stderr) {
assert.ifError(err);
assert.strictEqual(stdout, dataExpected, 'it reads the file and outputs it');
assert.strictEqual(stderr, '', 'it does not write to stderr');
assert.strictEqual(stdout, dataExpected);
assert.strictEqual(stderr, '');
console.log('ok');
});

Expand Down

0 comments on commit 85a3d82

Please sign in to comment.