From 551464b8d2ce3eaa6514671b788164df1dfb6ff9 Mon Sep 17 00:00:00 2001 From: Edward Tsech Date: Wed, 4 Jan 2012 16:21:54 +0100 Subject: [PATCH] Remove double negative in docs (not.toNotContain, not.toNotEqual) --- src/core/Matchers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Matchers.js b/src/core/Matchers.js index 4f078f3b..7303facb 100644 --- a/src/core/Matchers.js +++ b/src/core/Matchers.js @@ -104,7 +104,7 @@ jasmine.Matchers.prototype.toEqual = function(expected) { /** * toNotEqual: compares the actual to the expected using the ! of jasmine.Matchers.toEqual * @param expected - * @deprecated as of 1.0. Use not.toNotEqual() instead. + * @deprecated as of 1.0. Use not.toEqual() instead. */ jasmine.Matchers.prototype.toNotEqual = function(expected) { return !this.env.equals_(this.actual, expected); @@ -277,7 +277,7 @@ jasmine.Matchers.prototype.toContain = function(expected) { * Matcher that checks that the expected item is NOT an element in the actual Array. * * @param {Object} expected - * @deprecated as of 1.0. Use not.toNotContain() instead. + * @deprecated as of 1.0. Use not.toContain() instead. */ jasmine.Matchers.prototype.toNotContain = function(expected) { return !this.env.contains_(this.actual, expected);