mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Cleanup sortedIndex test.
This commit is contained in:
@@ -13197,8 +13197,7 @@
|
|||||||
objects = [{ 'x': 30 }, { 'x': 50 }];
|
objects = [{ 'x': 30 }, { 'x': 50 }];
|
||||||
|
|
||||||
test('`_.' + methodName + '` should return the correct insert index', 1, function() {
|
test('`_.' + methodName + '` should return the correct insert index', 1, function() {
|
||||||
var array = [30, 50],
|
var values = [30, 40, 50],
|
||||||
values = [30, 40, 50],
|
|
||||||
expected = isSortedIndex ? [0, 1, 1] : [1, 1, 2];
|
expected = isSortedIndex ? [0, 1, 1] : [1, 1, 2];
|
||||||
|
|
||||||
var actual = _.map(values, function(value) {
|
var actual = _.map(values, function(value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user