Permalink
Browse files

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: #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>
  • Loading branch information...
deleteman authored and targos committed Jun 12, 2018
1 parent c041fd2 commit fd520e7b4365dcda47dc209f8f1e3dd4a9d8665c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit fd520e7

Please sign in to comment.