diff --git a/src/Matchers.js b/src/Matchers.js index f69b858..6319433 100644 --- a/src/Matchers.js +++ b/src/Matchers.js @@ -219,12 +219,12 @@ jasmine.Matchers.prototype.toNotContain = function(item) { jasmine.Matchers.prototype.toBeLessThan = function(expected) { return this.report(this.actual < expected, 'Expected ' + jasmine.Matchers.pp(this.actual) + ' to be less than ' + jasmine.Matchers.pp(expected) + ', but it was not.'); -} +}; jasmine.Matchers.prototype.toBeGreaterThan = function(expected) { return this.report(this.actual > expected, 'Expected ' + jasmine.Matchers.pp(this.actual) + ' to be greater than ' + jasmine.Matchers.pp(expected) + ', but it was not.'); -} +}; /** * Matcher that checks that the expected exception was thrown by the actual.