mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Remove fp iterateeRearg mapping. [closes #1971]
This commit is contained in:
@@ -458,28 +458,6 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
QUnit.module('key methods');
|
||||
|
||||
(function() {
|
||||
var object = { 'a': 1 };
|
||||
|
||||
QUnit.test('should provide the correct `iteratee` arguments', function(assert) {
|
||||
assert.expect(3);
|
||||
|
||||
_.each(['findKey', 'findLastKey', 'mapKeys'], function(methodName) {
|
||||
var args;
|
||||
|
||||
var actual = fp[methodName](function() {
|
||||
args || (args = slice.call(arguments));
|
||||
}, object);
|
||||
|
||||
assert.deepEqual(args, ['a'], 'fp.' + methodName);
|
||||
});
|
||||
});
|
||||
}());
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
QUnit.module('mutation methods');
|
||||
|
||||
(function() {
|
||||
|
||||
Reference in New Issue
Block a user