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 4425926

Browse filesBrowse files
oyenamitcodebytere
authored andcommitted
test: change anonymous closure functions to arrow functions
PR-URL: #24418 Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 5c3736a commit 4425926
Copy full SHA for 4425926

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-http-res-write-end-dont-take-array.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-res-write-end-dont-take-array.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ server.once('request', common.mustCall((req, res) => {
6262

6363
server.listen(0, function() {
6464
// just make a request, other tests handle responses
65-
http.get({ port: this.address().port }, function(res) {
65+
http.get({ port: this.address().port }, (res) => {
6666
res.resume();
6767
// do it again to test .end(Buffer);
68-
http.get({ port: server.address().port }, function(res) {
68+
http.get({ port: server.address().port }, (res) => {
6969
res.resume();
7070
server.close();
7171
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.