mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Add variation to falsey _.slice test.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user