|
|
|
@ -64,7 +64,7 @@ beforeEach(function() {
|
|
|
|
|
|
|
|
|
|
this.message = function() {
|
|
|
|
|
return "Expected the pass to report an error "
|
|
|
|
|
+ (details ? " with details " + jasmine.pp(details) : "") + ", "
|
|
|
|
|
+ (details ? "with details " + jasmine.pp(details) + " ": "")
|
|
|
|
|
+ "for grammar " + jasmine.pp(grammar) + ", "
|
|
|
|
|
+ "but it didn't.";
|
|
|
|
|
};
|
|
|
|
@ -90,7 +90,7 @@ beforeEach(function() {
|
|
|
|
|
if (!this.env.equals_(e[key], details[key])) {
|
|
|
|
|
this.message = function() {
|
|
|
|
|
return "Expected the pass to report an error "
|
|
|
|
|
+ (details ? " with details " + jasmine.pp(details) : "") + ", "
|
|
|
|
|
+ "with details " + jasmine.pp(details) + " "
|
|
|
|
|
+ "for grammar " + jasmine.pp(grammar) + ", "
|
|
|
|
|
+ "but " + jasmine.pp(key) + " "
|
|
|
|
|
+ "is " + jasmine.pp(e[key]) + ".";
|
|
|
|
|