Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 475634b

Browse filesBrowse files
fdescampsgibfahn
authored andcommitted
test: remove unused parameter
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>
1 parent c1e294e commit 475634b
Copy full SHA for 475634b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/sequential/test-readline-interface.js
+1-3Lines changed: 1 addition & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.