Skip to content

Commit

Permalink
test: require common module only once
Browse files Browse the repository at this point in the history
Two tests were requiring the common module twice. This removes the
duplicate require statement in the tests.

PR-URL: nodejs#4611
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and Myles Borins committed Feb 15, 2016
1 parent 0e02eb0 commit 7afcdd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions test/parallel/test-tls-0-dns-altname.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ var tls = require('tls');

var fs = require('fs');

var common = require('../common');

var requests = 0;

var server = tls.createServer({
Expand Down
2 changes: 0 additions & 2 deletions test/parallel/test-tls-max-send-fragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ var tls = require('tls');

var fs = require('fs');

var common = require('../common');

var buf = new Buffer(10000);
var received = 0;
var ended = 0;
Expand Down

0 comments on commit 7afcdd3

Please sign in to comment.