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 <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>
1 parent 02bc99d commit 91f111f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const stream = require('stream');
77
constwritable=newstream.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)