test: remove unused parameter
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
88f2bf871d
commit
ae6368dc6b
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user