summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-agent-no-protocol.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-agent-no-protocol.js')
-rw-r--r--test/parallel/test-http-agent-no-protocol.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-http-agent-no-protocol.js b/test/parallel/test-http-agent-no-protocol.js
index 1f910c33e5..d5b7e5e194 100644
--- a/test/parallel/test-http-agent-no-protocol.js
+++ b/test/parallel/test-http-agent-no-protocol.js
@@ -1,3 +1,4 @@
+'use strict';
var common = require('../common');
var assert = require('assert');
var http = require('http');
@@ -21,7 +22,7 @@ var server = http.createServer(function(req, res) {
opts.agent = new http.Agent();
opts.agent.protocol = null;
- http.get(opts, function (res) {
+ http.get(opts, function(res) {
response++;
res.resume();
server.close();