From 5e639d1704310f924d3cd2afeabb6f74c8b531cf Mon Sep 17 00:00:00 2001 From: flyyang Date: Wed, 23 Dec 2015 19:06:37 +0800 Subject: [PATCH] Fix doc and test label typos. [ci skip] --- lodash.js | 4 ++-- test/test-fp.js | 2 +- test/test.js | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lodash.js b/lodash.js index de82d1c5c..13bfc5a9e 100644 --- a/lodash.js +++ b/lodash.js @@ -3665,7 +3665,7 @@ * * @private * @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. */ function baseWrapperValue(value, actions) { @@ -11121,7 +11121,7 @@ * Recursively merges own and inherited enumerable properties of source * objects into the destination object, skipping source properties that resolve * 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 * assignments of previous sources. * diff --git a/test/test-fp.js b/test/test-fp.js index 065713916..6567e0380 100644 --- a/test/test-fp.js +++ b/test/test-fp.js @@ -845,7 +845,7 @@ var array = [1, 2, 3], 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); var args, diff --git a/test/test.js b/test/test.js index 2feb242c5..8a166bb04 100644 --- a/test/test.js +++ b/test/test.js @@ -1025,7 +1025,7 @@ 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); var capped = _.ary(fn, 3); @@ -14676,7 +14676,7 @@ 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); var expected = [1, 2, 3, 4], @@ -15912,7 +15912,7 @@ 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); if (!isNpm) { @@ -17462,7 +17462,7 @@ 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); var actual = func(objects, ['a', 'b']); @@ -20735,7 +20735,7 @@ 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); var capped = _.unary(fn);