From ffe5115355baa6ee2136b6fb5e4828e4e2fa58f8 Mon Sep 17 00:00:00 2001 From: Chia-liang Kao Date: Thu, 13 Feb 2014 17:40:29 +0800 Subject: style(tests): remove trailing comma in specs Closes #6241 --- test/ng/httpSpec.js | 2 +- test/ng/intervalSpec.js | 2 +- test/ng/sceSpecs.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test/ng') 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'); -- cgit v1.2.3