Skip to content

Commit c6666ed

Browse files
committed
test: Removed test for dropped feature
1 parent ab4721a commit c6666ed

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

test/index.js

-17
Original file line numberDiff line numberDiff line change
@@ -110,21 +110,4 @@ describe('The public interface', function() {
110110
assert(pub.path);
111111
assert.equal(pub.path, pub.toString());
112112
});
113-
114-
it('should print a warning when passing a function to require(), but still work normally', function(done) {
115-
var warnings = 0;
116-
var _warn = console.warn;
117-
console.warn = function(msg) {
118-
warnings++;
119-
};
120-
121-
var req = pub.require(require);
122-
123-
process.nextTick(function() {
124-
var testlib = req('lib/testlib.js');
125-
assert(warnings);
126-
assert.equal(testlib, 'hello world');
127-
done();
128-
});
129-
});
130113
});

0 commit comments

Comments
 (0)