From 1b4bd8523d57dd373101b1f92d500f2397ba2d7f Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 10 Feb 2015 21:59:08 -0800 Subject: [PATCH] Add `_.slice` assert. --- test/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 872d639b9..08044ec12 100644 --- a/test/test.js +++ b/test/test.js @@ -11958,8 +11958,9 @@ notStrictEqual(actual, array); }); - test('should work with a positive `start`', 1, function() { + test('should work with a positive `start`', 2, function() { deepEqual(_.slice(array, 1), [2, 3]); + deepEqual(_.slice(array, 1, 3), [2, 3]); }); test('should work with a `start` >= `array.length`', 4, function() {