Skip to content

Commit d2e9599

Browse files
authored
Merge pull request #1016 from chaijs/fix-reindent-code-1014
docs: re-indent hasAnyKeys code
2 parents b625497 + 92d2cca commit d2e9599

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎lib/chai/interface/assert.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,10 +1675,10 @@ module.exports = function (chai, util) {
16751675
* You can also provide a single object instead of a `keys` array and its keys
16761676
* will be used as the expected set of keys.
16771677
*
1678-
* assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, ['foo', 'iDontExist', 'baz']);
1679-
* assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, {foo: 30, iDontExist: 99, baz: 1337});
1680-
* assert.hasAnyKeys(new Map([[{foo: 1}, 'bar'], ['key', 'value']]), [{foo: 1}, 'key']);
1681-
* assert.hasAnyKeys(new Set([{foo: 'bar'}, 'anotherKey']), [{foo: 'bar'}, 'anotherKey']);
1678+
* assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, ['foo', 'iDontExist', 'baz']);
1679+
* assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, {foo: 30, iDontExist: 99, baz: 1337});
1680+
* assert.hasAnyKeys(new Map([[{foo: 1}, 'bar'], ['key', 'value']]), [{foo: 1}, 'key']);
1681+
* assert.hasAnyKeys(new Set([{foo: 'bar'}, 'anotherKey']), [{foo: 'bar'}, 'anotherKey']);
16821682
*
16831683
* @name hasAnyKeys
16841684
* @param {Mixed} object

0 commit comments

Comments
 (0)