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: #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 Jan 12, 2016
1 parent 145b668 commit b14b2ae
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
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
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 b14b2ae

Please sign in to comment.