From 91f111fcb2af3f9d235245de2c62c5772e189fd9 Mon Sep 17 00:00:00 2001 From: Fernando Doglio Date: Tue, 12 Jun 2018 14:53:54 -0300 Subject: [PATCH] test: remove string error from strictEqual Removes the string error from the assertion call to improve the error message shown on screen when the test fails. PR-URL: https://github.com/nodejs/node/pull/21292 Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- .../test-stream-writableState-uncorked-bufferedRequestCount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js b/test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js index dbd306c53f9ccb..86dd7aed1b1403 100644 --- a/test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js +++ b/test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js @@ -7,7 +7,7 @@ const stream = require('stream'); const writable = new stream.Writable(); writable._writev = common.mustCall((chunks, cb) => { - assert.strictEqual(chunks.length, 2, 'two chunks to write'); + assert.strictEqual(chunks.length, 2); cb(); }, 1);