From 92d2cca46833f64ab9960964baa08901c1e7431d Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Wed, 2 Aug 2017 21:11:36 +0100 Subject: [PATCH] docs: re-indent hasAnyKeys code Refs #1014 --- lib/chai/interface/assert.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/chai/interface/assert.js b/lib/chai/interface/assert.js index 4809fc070..fa7719157 100644 --- a/lib/chai/interface/assert.js +++ b/lib/chai/interface/assert.js @@ -1675,10 +1675,10 @@ module.exports = function (chai, util) { * You can also provide a single object instead of a `keys` array and its keys * will be used as the expected set of keys. * - * assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, ['foo', 'iDontExist', 'baz']); - * assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, {foo: 30, iDontExist: 99, baz: 1337}); - * assert.hasAnyKeys(new Map([[{foo: 1}, 'bar'], ['key', 'value']]), [{foo: 1}, 'key']); - * assert.hasAnyKeys(new Set([{foo: 'bar'}, 'anotherKey']), [{foo: 'bar'}, 'anotherKey']); + * assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, ['foo', 'iDontExist', 'baz']); + * assert.hasAnyKeys({foo: 1, bar: 2, baz: 3}, {foo: 30, iDontExist: 99, baz: 1337}); + * assert.hasAnyKeys(new Map([[{foo: 1}, 'bar'], ['key', 'value']]), [{foo: 1}, 'key']); + * assert.hasAnyKeys(new Set([{foo: 'bar'}, 'anotherKey']), [{foo: 'bar'}, 'anotherKey']); * * @name hasAnyKeys * @param {Mixed} object