diff options
Diffstat (limited to 'test/parallel/test-https-socket-options.js')
-rw-r--r-- | test/parallel/test-https-socket-options.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-https-socket-options.js b/test/parallel/test-https-socket-options.js index d93e55b327..6433d8f4c7 100644 --- a/test/parallel/test-https-socket-options.js +++ b/test/parallel/test-https-socket-options.js @@ -58,7 +58,7 @@ server_http.listen(0, function() { }); // These methods should exist on the request and get passed down to the socket req.setNoDelay(true); - req.setTimeout(1000, function() { }); + req.setTimeout(1000, common.noop); req.setSocketKeepAlive(true, 1000); req.end(); }); @@ -82,7 +82,7 @@ server_https.listen(0, function() { }); // These methods should exist on the request and get passed down to the socket req.setNoDelay(true); - req.setTimeout(1000, function() { }); + req.setTimeout(1000, common.noop); req.setSocketKeepAlive(true, 1000); req.end(); }); |