Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3202456

Browse filesBrowse files
committed
test: remove util properties from common
common does not need util properties anymore. Remove them. PR-URL: #3304 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent 6899094 commit 3202456
Copy full SHA for 3202456

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Open diff view settings
Collapse file

‎test/common.js‎

Copy file name to clipboardExpand all lines: test/common.js
+2-4Lines changed: 2 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.