diff options
| author | Misko Hevery | 2010-10-15 13:44:53 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-10-15 13:44:53 -0700 |
| commit | a36964799be3d21163ba6350d862fced2bbd3437 (patch) | |
| tree | 8c703eb9b19541c25c4e1105e511426a646c9c4d /test/testabilityPatch.js | |
| parent | d320e3d2c3b72896603a3df3abd26adc0bfa3c10 (diff) | |
| download | angular.js-a36964799be3d21163ba6350d862fced2bbd3437.tar.bz2 | |
fixed lint warnings and one flaky test
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; } } |
