diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 47bc0d0d..59d8f4ac 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -32,7 +32,7 @@ beforeEach(function(){ this.message = function(){ return "Expected '" + sortedHtml(this.actual) + "' to have class '" + clazz + "'."; }; - return this.actual.hasClass ? + return this.actual.hasClass ? this.actual.hasClass(clazz) : jqLite(this.actual).hasClass(clazz); } @@ -208,8 +208,8 @@ function click(element) { } } -function rethrow(e) { +function rethrow(e) { if(e) { - throw e; + throw e; } } |
