mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
style(*): add rule disallowSpacesInAnonymousFunctionExpression beforeOpeningRoundBrace, including i18n generator
This commit is contained in:
committed by
Caitlin Potter
parent
94f5a285bf
commit
d3b1f502e3
6
test/ngMock/angular-mocksSpec.js
vendored
6
test/ngMock/angular-mocksSpec.js
vendored
@@ -722,7 +722,7 @@ describe('ngMock', function() {
|
||||
'other': { some: 'replacement'}
|
||||
},
|
||||
'ngResource',
|
||||
function ($provide) { $provide.value('example', 'win'); }
|
||||
function($provide) { $provide.value('example', 'win'); }
|
||||
);
|
||||
});
|
||||
|
||||
@@ -754,7 +754,7 @@ describe('ngMock', function() {
|
||||
|
||||
it('should add hashKey to module function', function() {
|
||||
module(testFn);
|
||||
inject(function () {
|
||||
inject(function() {
|
||||
expect(testFn.$$hashKey).toBeDefined();
|
||||
});
|
||||
});
|
||||
@@ -1056,7 +1056,7 @@ describe('ngMock', function() {
|
||||
});
|
||||
|
||||
it('should take function', function() {
|
||||
hb.expect('GET', '/some').respond(function (m, u, d, h) {
|
||||
hb.expect('GET', '/some').respond(function(m, u, d, h) {
|
||||
return [301, m + u + ';' + d + ';a=' + h.a, {'Connection': 'keep-alive'}, 'Moved Permanently'];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user