From 0eb70e1955c7d0869303e7a12052a81d96056602 Mon Sep 17 00:00:00 2001 From: Adam Hull Date: Sun, 28 Dec 2014 22:16:17 -0500 Subject: [PATCH] Typo, the flag is called 'contains' with an 's' --- lib/chai/core/assertions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chai/core/assertions.js b/lib/chai/core/assertions.js index 469a614c6..9aab44413 100644 --- a/lib/chai/core/assertions.js +++ b/lib/chai/core/assertions.js @@ -162,7 +162,7 @@ module.exports = function (chai, _) { * The `include` and `contain` assertions can be used as either property * based language chains or as methods to assert the inclusion of an object * in an array or a substring in a string. When used as language chains, - * they toggle the `contain` flag for the `keys` assertion. + * they toggle the `contains` flag for the `keys` assertion. * * expect([1,2,3]).to.include(2); * expect('foobar').to.contain('foo');