Skip to content

Commit a08bcae

Browse files
fdescampsMylesBorins
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 36281f4 commit a08bcae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/sequential/test-readline-interface.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ FakeInput.prototype.end = () => {};
9797
crlfDelay
9898
});
9999
let callCount = 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)