docs: fix unbalanced quotes in assert.notInclude example (#1200)

Some of the examples in assert.notInclude used quotes in the string and for the string itself, so it now uses double quotes to prevent the single quote from breaking the syntax.
This commit is contained in:
haykam821 2018-09-25 04:58:27 -04:00 committed by Keith Cirkel
parent 0064f26049
commit ed93c9310f

View file

@ -946,8 +946,8 @@ module.exports = function (chai, util) {
* the absence of a value in an array, a substring in a string, or a subset of
* properties in an object.
*
* assert.notInclude([1,2,3], 4, 'array doesn't contain value');
* assert.notInclude('foobar', 'baz', 'string doesn't contain substring');
* assert.notInclude([1,2,3], 4, "array doesn't contain value");
* assert.notInclude('foobar', 'baz', "string doesn't contain substring");
* assert.notInclude({ foo: 'bar', hello: 'universe' }, { foo: 'baz' }, 'object doesn't contain property');
*
* Strict equality (===) is used. When asserting the absence of a value in an