Remove extraneous test. [ci skip]

This commit is contained in:
John-David Dalton
2013-11-27 03:40:19 -06:00
parent 42e58fb73a
commit 79eecd6db4

View File

@@ -2954,9 +2954,7 @@
while (++index < length) {
var other = array[index];
if (other === value ||
(_.isObject(value) && other instanceof Foo) ||
(other === 'x' && /[13]/.test(value))) {
if (other === value || (value instanceof Foo && other instanceof Foo)) {
return index;
}
}
@@ -3001,17 +2999,6 @@
}
});
test('`_.omit` should work with a custom `_.indexOf` method', 1, function() {
if (!isModularize) {
_.indexOf = custom;
deepEqual(_.omit(array, ['x']), { '0': 1, '2': 3 });
_.indexOf = indexOf;
}
else {
skipTest();
}
});
test('`_.uniq` should work with a custom `_.indexOf` method', 2, function() {
if (!isModularize) {
_.indexOf = custom;