@@ -56,11 +56,11 @@ require.helper.semVerSort = function(a, b) {
5656
5757/**
5858 * Find and require a module which name starts with the provided name.
59- * If multiple modules exists, the highest semver is used.
59+ * If multiple modules exists, the highest semver is used.
6060 * This function can only be used for remote dependencies.
6161
6262 * @param {String } name - module name: `user~repo`
63- * @param {Boolean } returnPath - returns the canonical require path if true,
63+ * @param {Boolean } returnPath - returns the canonical require path if true,
6464 * otherwise it returns the epxorted module
6565 */
6666require . latest = function ( name , returnPath ) {
@@ -83,7 +83,7 @@ require.latest = function (name, returnPath) {
8383 semVerCandidates . push ( { version : version , name : moduleName } ) ;
8484 } else {
8585 otherCandidates . push ( { version : version , name : moduleName } ) ;
86- }
86+ }
8787 }
8888 }
8989 if ( semVerCandidates . concat ( otherCandidates ) . length === 0 ) {
@@ -678,7 +678,7 @@ var used = []
678678 * Chai version
679679 */
680680
681- exports . version = '2.1.1 ' ;
681+ exports . version = '2.1.2 ' ;
682682
683683/*!
684684 * Assertion Error
@@ -1045,7 +1045,7 @@ module.exports = function (chai, _) {
10451045 * ### .any
10461046 *
10471047 * Sets the `any` flag, (opposite of the `all` flag)
1048- * later used in the `keys` assertion.
1048+ * later used in the `keys` assertion.
10491049 *
10501050 * expect(foo).to.have.any.keys('bar', 'baz');
10511051 *
@@ -1062,7 +1062,7 @@ module.exports = function (chai, _) {
10621062 /**
10631063 * ### .all
10641064 *
1065- * Sets the `all` flag (opposite of the `any` flag)
1065+ * Sets the `all` flag (opposite of the `any` flag)
10661066 * later used by the `keys` assertion.
10671067 *
10681068 * expect(foo).to.have.all.keys('bar', 'baz');
@@ -1929,23 +1929,23 @@ module.exports = function (chai, _) {
19291929 * ### .keys(key1, [key2], [...])
19301930 *
19311931 * Asserts that the target contains any or all of the passed-in keys.
1932- * Use in combination with `any`, `all`, `contains`, or `have` will affect
1932+ * Use in combination with `any`, `all`, `contains`, or `have` will affect
19331933 * what will pass.
1934- *
1935- * When used in conjunction with `any`, at least one key that is passed
1936- * in must exist in the target object. This is regardless whether or not
1934+ *
1935+ * When used in conjunction with `any`, at least one key that is passed
1936+ * in must exist in the target object. This is regardless whether or not
19371937 * the `have` or `contain` qualifiers are used. Note, either `any` or `all`
19381938 * should be used in the assertion. If neither are used, the assertion is
19391939 * defaulted to `all`.
1940- *
1941- * When both `all` and `contain` are used, the target object must have at
1940+ *
1941+ * When both `all` and `contain` are used, the target object must have at
19421942 * least all of the passed-in keys but may have more keys not listed.
1943- *
1943+ *
19441944 * When both `all` and `have` are used, the target object must both contain
19451945 * all of the passed-in keys AND the number of keys in the target object must
1946- * match the number of keys passed in (in other words, a target object must
1946+ * match the number of keys passed in (in other words, a target object must
19471947 * have all and only all of the passed-in keys).
1948- *
1948+ *
19491949 * expect({ foo: 1, bar: 2 }).to.have.any.keys('foo', 'baz');
19501950 * expect({ foo: 1, bar: 2 }).to.have.any.keys('foo');
19511951 * expect({ foo: 1, bar: 2 }).to.contain.any.keys('bar', 'baz');
@@ -4286,7 +4286,7 @@ var getPathInfo = require('chai/lib/chai/utils/getPathInfo.js');
42864286module . exports = function ( path , obj ) {
42874287 var info = getPathInfo ( path , obj ) ;
42884288 return info . value ;
4289- } ;
4289+ } ;
42904290
42914291} ) ;
42924292
@@ -4432,7 +4432,7 @@ var type = require('chai/lib/chai/utils/type.js');
44324432 * hasProperty('str', obj); // true
44334433 * hasProperty('constructor', obj); // true
44344434 * hasProperty('bar', obj); // false
4435- *
4435+ *
44364436 * hasProperty('length', obj.str); // true
44374437 * hasProperty(1, obj.str); // true
44384438 * hasProperty(5, obj.str); // false
0 commit comments