Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: remove unused parameter
  • Loading branch information
François Descamps
François Descamps committed Nov 21, 2017
commit 25f6385c86a8cf109d26341cbf770a7cae9c0a1d
4 changes: 1 addition & 3 deletions test/sequential/test-readline-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ FakeInput.prototype.end = () => {};
crlfDelay
});
let callCount = 0;
rli.on('line', function(line) {
callCount++;
});
rli.on('line', () => callCount++);
fi.emit('data', '\r');
setTimeout(common.mustCall(() => {
fi.emit('data', '\n');
Expand Down