Fixed formatting.
This commit is contained in:
parent
ca077342f3
commit
8870f907e8
|
@ -219,12 +219,12 @@ jasmine.Matchers.prototype.toNotContain = function(item) {
|
||||||
jasmine.Matchers.prototype.toBeLessThan = function(expected) {
|
jasmine.Matchers.prototype.toBeLessThan = function(expected) {
|
||||||
return this.report(this.actual < 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.');
|
'Expected ' + jasmine.Matchers.pp(this.actual) + ' to be less than ' + jasmine.Matchers.pp(expected) + ', but it was not.');
|
||||||
}
|
};
|
||||||
|
|
||||||
jasmine.Matchers.prototype.toBeGreaterThan = function(expected) {
|
jasmine.Matchers.prototype.toBeGreaterThan = function(expected) {
|
||||||
return this.report(this.actual > 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.');
|
'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.
|
* Matcher that checks that the expected exception was thrown by the actual.
|
||||||
|
|
Loading…
Reference in New Issue