From c9eacb73fbaffb7da598dea160b727c74837e289 Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Mon, 24 Sep 2018 14:48:11 -0400 Subject: [PATCH] Fix unbalanced quotes in assert.notInclude example 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. --- lib/chai/interface/assert.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chai/interface/assert.js b/lib/chai/interface/assert.js index 792af714c..2099c9b6e 100644 --- a/lib/chai/interface/assert.js +++ b/lib/chai/interface/assert.js @@ -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