Skip to content

Commit

Permalink
test: replcae anonymous closure with arrow function
Browse files Browse the repository at this point in the history
PR-URL: #24476
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
SarathGovind authored and codebytere committed Jan 29, 2019
1 parent b827db0 commit 44d9084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/known_issues/test-http-path-contains-unicode.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ const server = http.createServer(common.mustCall(function(req, res) {

}));

server.listen(0, function() {
server.listen(0, () => {
http.request({
port: this.address().port,
port: server.address().port,
path: expected,
method: 'GET'
}, common.mustCall(function(res) {
Expand Down

0 comments on commit 44d9084

Please sign in to comment.