diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 76033ab2..e0086b8a 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -70,7 +70,7 @@ beforeEach(function(){ expected = toJson(this.actual); } return "Expected " + expected + " to be an Error with message " + toJson(message); - } + }; return this.actual.name == 'Error' && this.actual.message == message; }, @@ -83,7 +83,7 @@ beforeEach(function(){ expected = toJson(this.actual); } return "Expected " + expected + " to match an Error with message " + toJson(messageRegexp); - } + }; return this.actual.name == 'Error' && messageRegexp.test(this.actual.message); } }); |
