Skip to content

Commit 3260065

Browse files
Trottevanlucas
authored andcommitted
test: remove unused var from stream2 test
`writes` is assigned but never used. Remove it. (This was missed by the linter in previous versions of ESLint but is flagged by the current version. Updating the linter is contingent on this change or some similar remedy landing.) PR-URL: #7596 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 9716729 commit 3260065

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎test/parallel/test-stream2-readable-legacy-drain.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ r.on('end', function(){
1919

2020
varw=newStream();
2121
w.writable=true;
22-
varwrites=0;
2322
varbuffered=0;
2423
w.write=function(c){
25-
writes+=c.length;
2624
buffered+=c.length;
2725
process.nextTick(drain);
2826
returnfalse;

0 commit comments

Comments
(0)