From fc44d54607e26a9cd7289b1968aa0a0bf7159103 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 2 Aug 2014 23:25:20 -0700 Subject: [PATCH] Fix test fail. --- test/test.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/test.js b/test/test.js index 259281a97..e0aced2f7 100644 --- a/test/test.js +++ b/test/test.js @@ -2243,14 +2243,11 @@ expected = _.map(values, _.constant([])); var actual = _.map(values, function(arity) { - var curried = _.curry(fn, arity); - return curried(); + return _.curry(fn, arity)(); }); deepEqual(actual, expected); - - curried = _.curry(fn, '2'); - deepEqual(curried(1)(2), [1, 2]); + deepEqual(_.curry(fn, '2')(1)(2), [1, 2]); }); test('should work with partialed methods', 2, function() {