mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Tweak iteration methods test.
This commit is contained in:
@@ -5237,13 +5237,13 @@
|
|||||||
if (_.includes(rightMethods, methodName)) {
|
if (_.includes(rightMethods, methodName)) {
|
||||||
expected.reverse();
|
expected.reverse();
|
||||||
}
|
}
|
||||||
var actual = [];
|
var argsList = [];
|
||||||
func(array, function(value, key, array) {
|
func(array, function() {
|
||||||
actual.push([value, key, array]);
|
argsList.push(slice.call(arguments));
|
||||||
return !(isFind || isSome);
|
return !(isFind || isSome);
|
||||||
});
|
});
|
||||||
|
|
||||||
deepEqual(actual, expected);
|
deepEqual(argsList, expected);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
skipTest();
|
skipTest();
|
||||||
|
|||||||
Reference in New Issue
Block a user