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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and Michael Scovetta committed Apr 2, 2016
1 parent 77dceb4 commit 4341b39
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 4341b39

Please sign in to comment.