diff options
| author | Chia-liang Kao | 2014-02-13 17:40:29 +0800 | 
|---|---|---|
| committer | Pawel Kozlowski | 2014-02-22 22:41:51 +0100 | 
| commit | ffe5115355baa6ee2136b6fb5e4828e4e2fa58f8 (patch) | |
| tree | 8e7ca60ea92a30a95ed9d4090407ed4757f61f8f /test | |
| parent | 61b2515c0d7106e3413387e4b1f0d6cf335ba6c7 (diff) | |
| download | angular.js-ffe5115355baa6ee2136b6fb5e4828e4e2fa58f8.tar.bz2 | |
style(tests): remove trailing comma in specs
Closes #6241
Diffstat (limited to 'test')
| -rw-r--r-- | test/ng/httpSpec.js | 2 | ||||
| -rw-r--r-- | test/ng/intervalSpec.js | 2 | ||||
| -rw-r--r-- | test/ng/sceSpecs.js | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/test/ng/httpSpec.js b/test/ng/httpSpec.js index 192fde5c..90da692f 100644 --- a/test/ng/httpSpec.js +++ b/test/ng/httpSpec.js @@ -676,7 +676,7 @@ describe('$http', function() {          }).respond('');          $http({url: '/url', method: 'GET', headers: { -          'Custom': 'header', +          'Custom': 'header'          }});          $httpBackend.flush(); diff --git a/test/ng/intervalSpec.js b/test/ng/intervalSpec.js index 6999f750..59f62d96 100644 --- a/test/ng/intervalSpec.js +++ b/test/ng/intervalSpec.js @@ -14,7 +14,7 @@ describe('$interval', function() {            nextTime:(now + delay),            delay: delay,            fn: fn, -          id: nextRepeatId, +          id: nextRepeatId          });          repeatFns.sort(function(a,b){ return a.nextTime - b.nextTime;}); diff --git a/test/ng/sceSpecs.js b/test/ng/sceSpecs.js index 66c05c0d..e2a16c1c 100644 --- a/test/ng/sceSpecs.js +++ b/test/ng/sceSpecs.js @@ -436,7 +436,7 @@ describe('SCE', function() {      it('should support multiple items in both lists', runTest(        {          whiteList: [/^http:\/\/example.com\/1$/, /^http:\/\/example.com\/2$/, /^http:\/\/example.com\/3$/, 'self'], -        blackList: [/^http:\/\/example.com\/3$/, /.*\/open_redirect/], +        blackList: [/^http:\/\/example.com\/3$/, /.*\/open_redirect/]        }, function($sce) {          expect($sce.getTrustedResourceUrl('same_domain')).toEqual('same_domain');          expect($sce.getTrustedResourceUrl('http://example.com/1')).toEqual('http://example.com/1'); | 
