Skip to content

Commit

Permalink
Merge pull request jasmine#170 from edtsech/patch-1
Browse files Browse the repository at this point in the history
Remove double negative in docs (not.toNotContain, not.toNotEqual)
  • Loading branch information
Davis W. Frank committed Jan 8, 2012
2 parents 8a298e5 + 551464b commit 9123971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Matchers.js
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9123971

Please sign in to comment.