From b09e5cf5a795372630233863818879f2d4931f4d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 24 Aug 2015 08:22:51 -0700 Subject: [PATCH] Minor shortcut fusion test cleanup. --- test/test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 341836677..7ffca4a66 100644 --- a/test/test.js +++ b/test/test.js @@ -2128,7 +2128,8 @@ test('`_.' + methodName + '` should support shortcut fusion', 12, function() { var filterCount, - mapCount; + mapCount, + array = _.range(LARGE_ARRAY_SIZE); var iteratee = function(value) { mapCount++; @@ -2164,7 +2165,7 @@ : fn(take3, _.compact, filter3, map3); filterCount = mapCount = 0; - deepEqual(combined(_.range(LARGE_ARRAY_SIZE)), [4, 16]); + deepEqual(combined(array), [4, 16]); if (!isNpm && WeakMap && WeakMap.name) { strictEqual(filterCount, 5, 'filterCount');