Add function checks to _.modArgs.

This commit is contained in:
jdalton
2015-06-02 20:14:55 -07:00
parent f402dbd1e3
commit 50e129bd8f
2 changed files with 20 additions and 2 deletions

View File

@@ -17836,6 +17836,7 @@
'defer',
'delay',
'memoize',
'modArgs',
'negate',
'once',
'partial',
@@ -17896,7 +17897,7 @@
var acceptFalsey = _.difference(allMethods, rejectFalsey);
test('should accept falsey arguments', 226, function() {
test('should accept falsey arguments', 225, function() {
var emptyArrays = _.map(falsey, _.constant([])),
isExposed = '_' in root,
oldDash = root._;
@@ -17962,7 +17963,7 @@
});
});
test('should throw an error for falsey arguments', 24, function() {
test('should throw an error for falsey arguments', 25, function() {
_.each(rejectFalsey, function(methodName) {
var expected = _.map(falsey, _.constant(true)),
func = _[methodName];