mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Remove isExposed check from test.js.
This commit is contained in:
@@ -18039,7 +18039,6 @@
|
|||||||
|
|
||||||
test('should accept falsey arguments', 229, function() {
|
test('should accept falsey arguments', 229, function() {
|
||||||
var emptyArrays = _.map(falsey, _.constant([])),
|
var emptyArrays = _.map(falsey, _.constant([])),
|
||||||
isExposed = '_' in root,
|
|
||||||
oldDash = root._;
|
oldDash = root._;
|
||||||
|
|
||||||
_.each(acceptFalsey, function(methodName) {
|
_.each(acceptFalsey, function(methodName) {
|
||||||
@@ -18056,11 +18055,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (methodName == 'noConflict') {
|
if (methodName == 'noConflict') {
|
||||||
if (isExposed) {
|
root._ = oldDash;
|
||||||
root._ = oldDash;
|
|
||||||
} else {
|
|
||||||
delete root._;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (methodName == 'pull') {
|
else if (methodName == 'pull') {
|
||||||
expected = falsey;
|
expected = falsey;
|
||||||
|
|||||||
Reference in New Issue
Block a user