diff --git a/packages/common/src/directives/ng_if.ts b/packages/common/src/directives/ng_if.ts
index 7a2487d83a0..e9193cf6daf 100644
--- a/packages/common/src/directives/ng_if.ts
+++ b/packages/common/src/directives/ng_if.ts
@@ -163,4 +163,3 @@ export class NgIfContext {
public $implicit: any = null;
public ngIf: any = null;
}
-
diff --git a/packages/common/test/directives/ng_if_spec.ts b/packages/common/test/directives/ng_if_spec.ts
index ef68dd34655..69087bb12fb 100644
--- a/packages/common/test/directives/ng_if_spec.ts
+++ b/packages/common/test/directives/ng_if_spec.ts
@@ -172,8 +172,8 @@ import {expect} from '@angular/platform-browser/testing/src/matchers';
it('should support removing the then/else templates', () => {
const template = `
- Template`;
+ else nestedBooleanCondition ? tplRef : null">` +
+ `Template`;
fixture = createTestComponent(template);
const comp = fixture.componentInstance;