Browse Source

test: require common module only once

Two tests were requiring the common module twice. This removes the
duplicate require statement in the tests.

PR-URL: https://github.com/nodejs/node/pull/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>
v5.x
Rich Trott 9 years ago
committed by Myles Borins
parent
commit
b14b2aec5e
  1. 2
      test/parallel/test-tls-0-dns-altname.js
  2. 2
      test/parallel/test-tls-max-send-fragment.js

2
test/parallel/test-tls-0-dns-altname.js

@ -10,8 +10,6 @@ var tls = require('tls');
var fs = require('fs'); var fs = require('fs');
var common = require('../common');
var requests = 0; var requests = 0;
var server = tls.createServer({ var server = tls.createServer({

2
test/parallel/test-tls-max-send-fragment.js

@ -10,8 +10,6 @@ var tls = require('tls');
var fs = require('fs'); var fs = require('fs');
var common = require('../common');
var buf = new Buffer(10000); var buf = new Buffer(10000);
var received = 0; var received = 0;
var ended = 0; var ended = 0;

Loading…
Cancel
Save