mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Ensure _.slice handles a limit of 0 in Node 0.10.
This commit is contained in:
@@ -23286,7 +23286,7 @@
|
||||
assert.deepEqual(_.split(string, ' ', 3), ['A', leafs + ',', comboGlyph + ',']);
|
||||
assert.deepEqual(_.split(string, undefined), [string]);
|
||||
assert.deepEqual(_.split(string, undefined, -1), [string]);
|
||||
assert.deepEqual(_.split(string, undefined, 0), string.split(undefined, 0));
|
||||
assert.deepEqual(_.split(string, undefined, 0), []);
|
||||
|
||||
var expected = ['A', ' ', leafs, ',', ' ', comboGlyph, ',', ' ', 'a', 'n', 'd', ' ', rocket];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user