diff options
author | Fernando Doglio <deleteman@gmail.com> | 2018-06-12 14:53:54 -0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-06-24 15:35:21 +0200 |
commit | fd520e7b4365dcda47dc209f8f1e3dd4a9d8665c (patch) | |
tree | 3edb8ca837e6765384b3a8638af530c9c569dc89 /test | |
parent | c041fd2dc7c5a2b6d7a83bc68f40ab9ad72b6797 (diff) | |
download | android-node-v8-fd520e7b4365dcda47dc209f8f1e3dd4a9d8665c.tar.gz android-node-v8-fd520e7b4365dcda47dc209f8f1e3dd4a9d8665c.tar.bz2 android-node-v8-fd520e7b4365dcda47dc209f8f1e3dd4a9d8665c.zip |
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 <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js b/test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js index dbd306c53f..86dd7aed1b 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); |