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