Fix formatting.

This commit is contained in:
Aaron Peckham & Christian Williams 2009-08-14 15:44:45 -07:00
parent 8870f907e8
commit 027b28ecb0
1 changed files with 2 additions and 2 deletions

View File

@ -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.