summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-incoming-pipelined-socket-destroy.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-incoming-pipelined-socket-destroy.js')
-rw-r--r--test/parallel/test-http-incoming-pipelined-socket-destroy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-incoming-pipelined-socket-destroy.js b/test/parallel/test-http-incoming-pipelined-socket-destroy.js
index 0cb29610f1..9789e9976c 100644
--- a/test/parallel/test-http-incoming-pipelined-socket-destroy.js
+++ b/test/parallel/test-http-incoming-pipelined-socket-destroy.js
@@ -52,7 +52,7 @@ server.listen(0, function() {
var client = net.connect({ port: this.address().port });
var done = 0;
server.on('requestDone', function() {
- if (++done == seeds.length) {
+ if (++done === seeds.length) {
server.close();
}
});