style: format the code with the updated clang

This commit is contained in:
Victor Berchet 2015-06-12 19:07:13 +02:00
parent b4e82b8bc7
commit 38e5c3f918
1 changed files with 4 additions and 6 deletions

View File

@ -480,8 +480,7 @@ export function main() {
tb.createView(MyComp, {context: ctx, html: t})
.then((view) => {
view.detectChanges();
var form =
view.rawView.elementInjectors[0].get(NgForm);
var form = view.rawView.elementInjectors[0].get(NgForm);
expect(form.controls['user']).not.toBeDefined();
tick();
@ -535,8 +534,8 @@ export function main() {
tb.createView(MyComp, {context: ctx, html: t})
.then((view) => {
view.detectChanges();
var form = view.rawView.elementInjectors[0].get(
NgForm);
var form =
view.rawView.elementInjectors[0].get(NgForm);
tick();
@ -565,8 +564,7 @@ export function main() {
tb.createView(MyComp, {context: ctx, html: t})
.then((view) => {
view.detectChanges();
var form =
view.rawView.elementInjectors[0].get(NgForm);
var form = view.rawView.elementInjectors[0].get(NgForm);
flushMicrotasks();
expect(form.controls['user']).toBeDefined();