mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Remove dead code from tests.
This commit is contained in:
@@ -7622,10 +7622,6 @@
|
|||||||
'a string': '1234'
|
'a string': '1234'
|
||||||
},
|
},
|
||||||
function(collection, key) {
|
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) {
|
QUnit.test('should work with ' + key + ' and return `true` for matched values', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|
||||||
@@ -7732,8 +7728,7 @@
|
|||||||
'an array': [1, 2, 3, 4]
|
'an array': [1, 2, 3, 4]
|
||||||
},
|
},
|
||||||
function(collection, key) {
|
function(collection, key) {
|
||||||
var values = lodashStable.toArray(collection),
|
var values = lodashStable.toArray(collection);
|
||||||
length = values.length;
|
|
||||||
|
|
||||||
QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a positive `fromIndex`', function(assert) {
|
QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a positive `fromIndex`', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user