Remove fp iterateeRearg mapping. [closes #1971]

This commit is contained in:
John-David Dalton
2016-02-10 08:19:59 -08:00
parent 3014f20b6c
commit 784ee6a086
3 changed files with 2 additions and 43 deletions

View File

@@ -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() {