mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Fix doc and test label typos. [ci skip]
This commit is contained in:
committed by
John-David Dalton
parent
8e64432e2c
commit
5e639d1704
@@ -3665,7 +3665,7 @@
|
|||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
* @param {*} value The unwrapped value.
|
* @param {*} value The unwrapped value.
|
||||||
* @param {Array} actions Actions to peform to resolve the unwrapped value.
|
* @param {Array} actions Actions to perform to resolve the unwrapped value.
|
||||||
* @returns {*} Returns the resolved value.
|
* @returns {*} Returns the resolved value.
|
||||||
*/
|
*/
|
||||||
function baseWrapperValue(value, actions) {
|
function baseWrapperValue(value, actions) {
|
||||||
@@ -11121,7 +11121,7 @@
|
|||||||
* Recursively merges own and inherited enumerable properties of source
|
* Recursively merges own and inherited enumerable properties of source
|
||||||
* objects into the destination object, skipping source properties that resolve
|
* objects into the destination object, skipping source properties that resolve
|
||||||
* to `undefined`. Array and plain object properties are merged recursively.
|
* to `undefined`. Array and plain object properties are merged recursively.
|
||||||
* Other objects and value types are overriden by assignment. Source objects
|
* Other objects and value types are overridden by assignment. Source objects
|
||||||
* are applied from left to right. Subsequent sources overwrite property
|
* are applied from left to right. Subsequent sources overwrite property
|
||||||
* assignments of previous sources.
|
* assignments of previous sources.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -845,7 +845,7 @@
|
|||||||
var array = [1, 2, 3],
|
var array = [1, 2, 3],
|
||||||
object = { 'a': 1 };
|
object = { 'a': 1 };
|
||||||
|
|
||||||
QUnit.test('should provice the correct `customizer` arguments', function(assert) {
|
QUnit.test('should provide the correct `customizer` arguments', function(assert) {
|
||||||
assert.expect(3);
|
assert.expect(3);
|
||||||
|
|
||||||
var args,
|
var args,
|
||||||
|
|||||||
10
test/test.js
10
test/test.js
@@ -1025,7 +1025,7 @@
|
|||||||
assert.deepEqual(actual, expected);
|
assert.deepEqual(actual, expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should work when provided less than the capped numer of arguments', function(assert) {
|
QUnit.test('should work when provided less than the capped number of arguments', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|
||||||
var capped = _.ary(fn, 3);
|
var capped = _.ary(fn, 3);
|
||||||
@@ -14676,7 +14676,7 @@
|
|||||||
assert.deepEqual(c(3, 5), expected);
|
assert.deepEqual(c(3, 5), expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should work with combinations of functions with overlaping placeholders', function(assert) {
|
QUnit.test('should work with combinations of functions with overlapping placeholders', function(assert) {
|
||||||
assert.expect(3);
|
assert.expect(3);
|
||||||
|
|
||||||
var expected = [1, 2, 3, 4],
|
var expected = [1, 2, 3, 4],
|
||||||
@@ -15912,7 +15912,7 @@
|
|||||||
assert.strictEqual(func(object, noop), undefined);
|
assert.strictEqual(func(object, noop), undefined);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicityly chaining', function(assert) {
|
QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|
||||||
if (!isNpm) {
|
if (!isNpm) {
|
||||||
@@ -17462,7 +17462,7 @@
|
|||||||
|
|
||||||
var stableObject = lodashStable.zipObject('abcdefghijklmnopqrst'.split(''), stableArray);
|
var stableObject = lodashStable.zipObject('abcdefghijklmnopqrst'.split(''), stableArray);
|
||||||
|
|
||||||
QUnit.test('`_.' + methodName + '` should sort mutliple properties in ascending order', function(assert) {
|
QUnit.test('`_.' + methodName + '` should sort multiple properties in ascending order', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|
||||||
var actual = func(objects, ['a', 'b']);
|
var actual = func(objects, ['a', 'b']);
|
||||||
@@ -20735,7 +20735,7 @@
|
|||||||
assert.deepEqual(actual, [6, 8, 10]);
|
assert.deepEqual(actual, [6, 8, 10]);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should work when provided less than the capped numer of arguments', function(assert) {
|
QUnit.test('should work when provided less than the capped number of arguments', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|
||||||
var capped = _.unary(fn);
|
var capped = _.unary(fn);
|
||||||
|
|||||||
Reference in New Issue
Block a user