From 972624297b234e0b032bfb5e3435ea6271f9f791 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 1 Apr 2016 18:13:39 -0700 Subject: [PATCH] Add variation to falsey `_.slice` test. --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 662d4bf96..395f6711f 100644 --- a/test/test.js +++ b/test/test.js @@ -19513,8 +19513,8 @@ return value === undefined ? array : []; }); - var actual = lodashStable.map(falsey, function(end) { - return _.slice(array, 0, end); + var actual = lodashStable.map(falsey, function(end, index) { + return index ? _.slice(array, 0, end) : _.slice(array, 0); }); assert.deepEqual(actual, expected);