Skip to content

Commit dbf14ce

Browse files
SarathGovindrvagg
authored andcommitted
test: replcae anonymous closure with arrow function
PR-URL: #24476 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 2245e5e commit dbf14ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/known_issues/test-http-path-contains-unicode.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const server = http.createServer(common.mustCall(function(req, res) {
2323

2424
}));
2525

26-
server.listen(0, function() {
26+
server.listen(0, () => {
2727
http.request({
28-
port: this.address().port,
28+
port: server.address().port,
2929
path: expected,
3030
method: 'GET'
3131
}, common.mustCall(function(res) {

0 commit comments

Comments
 (0)