Skip to content

Commit c1a327b

Browse files
DingDeantargos
authored andcommittedMar 27, 2018
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>
1 parent 9265f4b commit c1a327b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/parallel/test-fs-readfilesync-pipe-large.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ const node = JSON.stringify(process.execPath);
2828
const cmd = `cat ${filename} | ${node} ${f} child`;
2929
exec(cmd, { maxBuffer: 1000000 }, function(err, stdout, stderr) {
3030
assert.ifError(err);
31-
assert.strictEqual(stdout, dataExpected, 'it reads the file and outputs it');
32-
assert.strictEqual(stderr, '', 'it does not write to stderr');
31+
assert.strictEqual(stdout, dataExpected);
32+
assert.strictEqual(stderr, '');
3333
console.log('ok');
3434
});
3535

0 commit comments

Comments
 (0)