Remove run alias.

This commit is contained in:
John-David Dalton
2016-01-11 16:13:32 -08:00
parent a98fc802fc
commit 3d44135df5
2 changed files with 3 additions and 4 deletions

View File

@@ -14357,7 +14357,7 @@
lodash.prototype.next = wrapperNext;
lodash.prototype.plant = wrapperPlant;
lodash.prototype.reverse = wrapperReverse;
lodash.prototype.run = lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
if (iteratorSymbol) {
lodash.prototype[iteratorSymbol] = wrapperToIterator;

View File

@@ -22816,16 +22816,15 @@
});
QUnit.test('should be aliased', function(assert) {
assert.expect(3);
assert.expect(2);
if (!isNpm) {
var expected = _.prototype.value;
assert.strictEqual(_.prototype.run, expected);
assert.strictEqual(_.prototype.toJSON, expected);
assert.strictEqual(_.prototype.valueOf, expected);
}
else {
skipTest(assert, 3);
skipTest(assert, 2);
}
});
}());