Skip to content

Commit 71d554e

Browse files
fdescampsgibfahn
authored andcommitted
test: remove unused parameter
PR-URL: #17184 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 431ed2b commit 71d554e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎test/sequential/test-readline-interface.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ FakeInput.prototype.end = () =>{};
9797
crlfDelay
9898
});
9999
letcallCount=0;
100-
rli.on('line',function(line){
101-
callCount++;
102-
});
100+
rli.on('line',()=>callCount++);
103101
fi.emit('data','\r');
104102
setTimeout(common.mustCall(()=>{
105103
fi.emit('data','\n');

0 commit comments

Comments
(0)