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/ApiSpecs.js | |
| parent | d320e3d2c3b72896603a3df3abd26adc0bfa3c10 (diff) | |
| download | angular.js-a36964799be3d21163ba6350d862fced2bbd3437.tar.bz2 | |
fixed lint warnings and one flaky test
Diffstat (limited to 'test/ApiSpecs.js')
| -rw-r--r-- | test/ApiSpecs.js | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/test/ApiSpecs.js b/test/ApiSpecs.js index 5548d795..d1f693a5 100644 --- a/test/ApiSpecs.js +++ b/test/ApiSpecs.js @@ -159,11 +159,9 @@ describe('api', function(){      it('should use function', function(){        expect(          orderBy( -          [{a:15, b:1},{a:2, b:1}],  -          function(value){ return value.a; } -        ) -      ).toEqual([{a:2, b:1},{a:15, b:1}]); - +          [{a:15, b:1},{a:2, b:1}], +          function(value){ return value.a; })). +      toEqual([{a:2, b:1},{a:15, b:1}]);      });    });  | 
