diff --git a/lib/fp/template/doc/wiki.jst b/lib/fp/template/doc/wiki.jst index c9e05c664..90d3b653a 100644 --- a/lib/fp/template/doc/wiki.jst +++ b/lib/fp/template/doc/wiki.jst @@ -79,10 +79,10 @@ convert each method. #### Capped Iteratee Arguments Methods that cap iteratees to one argument:
-<%= toFuncList(_.keys(_.pick(mapping.iterateeAry, _.partial(_.eq, _, 1)))) %> +<%= toFuncList(_.keys(_.pickBy(mapping.iterateeAry, _.partial(_.eq, _, 1)))) %> Methods that cap iteratees to two arguments:
-<%= toFuncList(_.keys(_.pick(mapping.iterateeAry, _.partial(_.eq, _, 2)))) %> +<%= toFuncList(_.keys(_.pickBy(mapping.iterateeAry, _.partial(_.eq, _, 2)))) %> The iteratee of `mapKeys` is invoked with one argument: (key) diff --git a/test/test.js b/test/test.js index d70abe7de..54673f4eb 100644 --- a/test/test.js +++ b/test/test.js @@ -11038,8 +11038,7 @@ assert.expect(1); if (realm.object) { - var invoke = lodashStable.invokeMap || lodashStable.invoke, - props = invoke(typedArrays, 'toLowerCase'); + var props = lodashStable.invokeMap(typedArrays, 'toLowerCase'); var expected = lodashStable.map(props, function(key) { return realm[key] !== undefined; @@ -18605,13 +18604,11 @@ QUnit.test('should shuffle small collections', function(assert) { assert.expect(1); - var uniqBy = lodashStable.uniqBy || lodashStable.uniq; - var actual = lodashStable.times(1000, function(assert) { return _.shuffle([1, 2]); }); - assert.deepEqual(lodashStable.sortBy(uniqBy(actual, String), '0'), [[1, 2], [2, 1]]); + assert.deepEqual(lodashStable.sortBy(lodashStable.uniqBy(actual, String), '0'), [[1, 2], [2, 1]]); }); QUnit.test('should treat number values for `collection` as empty', function(assert) {