style(tests): remove trailing comma in specs

Closes #6241
This commit is contained in:
Chia-liang Kao
2014-02-13 17:40:29 +08:00
committed by Pawel Kozlowski
parent 61b2515c0d
commit ffe5115355
3 changed files with 3 additions and 3 deletions

View File

@@ -676,7 +676,7 @@ describe('$http', function() {
}).respond('');
$http({url: '/url', method: 'GET', headers: {
'Custom': 'header',
'Custom': 'header'
}});
$httpBackend.flush();

View File

@@ -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;});

View File

@@ -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');