From de8c7176d5f205ee12348d84a901812eba12955e Mon Sep 17 00:00:00 2001 From: DingDean Date: Thu, 22 Mar 2018 10:46:26 +0800 Subject: [PATCH] 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. --- test/parallel/test-fs-readfilesync-pipe-large.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-readfilesync-pipe-large.js b/test/parallel/test-fs-readfilesync-pipe-large.js index 18a06b1ba117db..cfa7ae06ac08e8 100644 --- a/test/parallel/test-fs-readfilesync-pipe-large.js +++ b/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'); });