diff --git a/lib/jasmine.js b/lib/jasmine.js index a1be3be9..05a858c0 100644 --- a/lib/jasmine.js +++ b/lib/jasmine.js @@ -1151,12 +1151,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.