Fixed formatting.

This commit is contained in:
Aaron Peckham & Christian Williams 2009-08-14 15:43:36 -07:00
parent ca077342f3
commit 8870f907e8

View File

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