Add variation to falsey _.slice test.

This commit is contained in:
John-David Dalton
2016-04-01 18:13:39 -07:00
parent ebf9904e8a
commit 972624297b

View File

@@ -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);