Skip to content

Commit 3202456

Browse files
committed
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 6899094 commit 3202456

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');
@@ -166,10 +168,6 @@ exports.hasIPv6 = Object.keys(ifaces).some(function(name) {
166168
});
167169
});
168170

169-
var util = require('util');
170-
for (var i in util) exports[i] = util[i];
171-
//for (var i in exports) global[i] = exports[i];
172-
173171
function protoCtrChain(o) {
174172
var result = [];
175173
for (; o; o = o.__proto__) { result.push(o.constructor); }

0 commit comments

Comments
 (0)