mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Avoid false fail in older firefox.
This commit is contained in:
11
test/test.js
11
test/test.js
@@ -6101,9 +6101,14 @@
|
|||||||
array = Array(length),
|
array = Array(length),
|
||||||
steps = 0;
|
steps = 0;
|
||||||
|
|
||||||
array[index] = index;
|
if (array.length == length) {
|
||||||
_.sortedIndex(array, index, function() { steps++; });
|
array[index] = index;
|
||||||
equal(steps, 33);
|
_.sortedIndex(array, index, function() { steps++; });
|
||||||
|
equal(steps, 33);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
skipTest();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user