From 03af0791aab2d0b9807c5a0951de7242c69f012a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 15 May 2016 21:46:33 -0700 Subject: [PATCH] Remove dead code from tests. --- test/test.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/test.js b/test/test.js index 57188114d..81ab714b4 100644 --- a/test/test.js +++ b/test/test.js @@ -7622,10 +7622,6 @@ 'a string': '1234' }, function(collection, key) { - var isStr = typeof collection == 'string', - values = lodashStable.toArray(collection), - length = values.length; - QUnit.test('should work with ' + key + ' and return `true` for matched values', function(assert) { assert.expect(1); @@ -7732,8 +7728,7 @@ 'an array': [1, 2, 3, 4] }, function(collection, key) { - var values = lodashStable.toArray(collection), - length = values.length; + var values = lodashStable.toArray(collection); QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a positive `fromIndex`', function(assert) { assert.expect(1);