build: reformat repo to new clang@1.4.0 (#36613)

PR Close #36613
This commit is contained in:
Joey Perrott
2020-04-13 16:40:21 -07:00
committed by atscott
parent 5e80e7e216
commit 698b0288be
1160 changed files with 31667 additions and 24000 deletions

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {Observable, asapScheduler, bindCallback, bindNodeCallback} from 'rxjs';
import {asapScheduler, bindCallback, bindNodeCallback, Observable} from 'rxjs';
import {asyncTest} from '../test-util';
@ -18,7 +18,9 @@ describe('Observable.bindNodeCallback', () => {
let boundFunc: any;
let observable: any;
beforeEach(() => { log = []; });
beforeEach(() => {
log = [];
});
it('bindNodeCallback func callback should run in the correct zone', () => {
constructorZone.run(() => {
@ -100,7 +102,9 @@ describe('Observable.bindNodeCallback', () => {
expect(Zone.current.name).toEqual(subscriptionZone.name);
log.push('next' + arg);
},
(error: any) => { log.push('error' + error); });
(error: any) => {
log.push('error' + error);
});
});
expect(log).toEqual(['nexttest,']);