Skip to content

Commit

Permalink
test: remove util properties from common
Browse files Browse the repository at this point in the history
common does not need util properties anymore. Remove them.

PR-URL: #3304
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Brendan Ashworth <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
Trott authored and jasnell committed Oct 28, 2015
1 parent 9bffceb commit 4c411ae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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); }
Expand Down

0 comments on commit 4c411ae

Please sign in to comment.