Browse Source

test: remove util properties from common

common does not need util properties anymore. Remove them.

PR-URL: https://github.com/nodejs/node/pull/3304
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
v4.x
Rich Trott 9 years ago
committed by James M Snell
parent
commit
c566c8b8c0
  1. 6
      test/common.js

6
test/common.js

@ -5,6 +5,8 @@ var fs = require('fs');
var assert = require('assert');
var os = require('os');
var child_process = require('child_process');
var util = require('util');
exports.testDir = path.dirname(__filename);
exports.fixturesDir = path.join(exports.testDir, 'fixtures');
@ -171,10 +173,6 @@ exports.hasIPv6 = Object.keys(ifaces).some(function(name) {
});
});
var util = require('util');
for (var i in util) exports[i] = util[i];
//for (var i in exports) global[i] = exports[i];
function protoCtrChain(o) {
var result = [];
for (; o; o = o.__proto__) { result.push(o.constructor); }

Loading…
Cancel
Save