Skip to content

Commit c1a327b

Browse files
DingDeantargos
authored andcommitted
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 <[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]>
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)