Skip to content

Commit 91f111f

Browse files
deletemantargos
authored andcommitted
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 <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 02bc99d commit 91f111f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const stream = require('stream');
77
const writable = new stream.Writable();
88

99
writable._writev = common.mustCall((chunks, cb) => {
10-
assert.strictEqual(chunks.length, 2, 'two chunks to write');
10+
assert.strictEqual(chunks.length, 2);
1111
cb();
1212
}, 1);
1313

0 commit comments

Comments
 (0)