Skip to content

Commit

Permalink
test: remove unused parameter
Browse files Browse the repository at this point in the history
PR-URL: #17184
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
fdescamps authored and gibfahn committed Dec 20, 2017
1 parent 431ed2b commit 71d554e
Showing 1 changed file with 1 addition and 3 deletions.
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

0 comments on commit 71d554e

Please sign in to comment.