Permalink
Browse files

test: remove custom error message

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 <rtrott@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
DingDean authored and tniessen committed Mar 22, 2018
1 parent 54fbbb1 commit 85a3d828bb585f90f94b279ca78f95b361233aa9
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-fs-readfilesync-pipe-large.js
@@ -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');
});

0 comments on commit 85a3d82

Please sign in to comment.