Skip to content

Commit 4c411ae

Browse files
Trottjasnell
authored andcommitted
test: remove util properties from common
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]>
1 parent 9bffceb commit 4c411ae

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/common.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ var fs = require('fs');
55
var assert = require('assert');
66
var os = require('os');
77
var child_process = require('child_process');
8+
var util = require('util');
9+
810

911
exports.testDir = path.dirname(__filename);
1012
exports.fixturesDir = path.join(exports.testDir, 'fixtures');
@@ -171,10 +173,6 @@ exports.hasIPv6 = Object.keys(ifaces).some(function(name) {
171173
});
172174
});
173175

174-
var util = require('util');
175-
for (var i in util) exports[i] = util[i];
176-
//for (var i in exports) global[i] = exports[i];
177-
178176
function protoCtrChain(o) {
179177
var result = [];
180178
for (; o; o = o.__proto__) { result.push(o.constructor); }

0 commit comments

Comments
 (0)