mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Allow legacy build tests to pass.
This commit is contained in:
@@ -5928,7 +5928,7 @@
|
|||||||
|
|
||||||
test('`_.' + methodName + '` should work with curried methods', 2, function() {
|
test('`_.' + methodName + '` should work with curried methods', 2, function() {
|
||||||
var fn = function(a, b, c) { return a + b + c; },
|
var fn = function(a, b, c) { return a + b + c; },
|
||||||
curried = _.curry(func(fn, 1));
|
curried = _.curry(func(fn, 1), 2);
|
||||||
|
|
||||||
equal(curried(2, 3), 6);
|
equal(curried(2, 3), 6);
|
||||||
equal(curried(2)(3), 6);
|
equal(curried(2)(3), 6);
|
||||||
|
|||||||
Reference in New Issue
Block a user