summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-agent-destroyed-socket.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-agent-destroyed-socket.js')
-rw-r--r--test/parallel/test-http-agent-destroyed-socket.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-agent-destroyed-socket.js b/test/parallel/test-http-agent-destroyed-socket.js
index 322373e69c..163664b7bd 100644
--- a/test/parallel/test-http-agent-destroyed-socket.js
+++ b/test/parallel/test-http-agent-destroyed-socket.js
@@ -25,10 +25,10 @@ const assert = require('assert');
const http = require('http');
const server = http.createServer(function(req, res) {
- res.writeHead(200, {'Content-Type': 'text/plain'});
+ res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World\n');
}).listen(0, common.mustCall(function() {
- const agent = new http.Agent({maxSockets: 1});
+ const agent = new http.Agent({ maxSockets: 1 });
agent.on('free', function(socket) {
console.log('freeing socket. destroyed? ', socket.destroyed);