diff --git a/modules/@angular/compiler/test/template_parser/template_parser_spec.ts b/modules/@angular/compiler/test/template_parser/template_parser_spec.ts index b7079d5487..cf8679bc29 100644 --- a/modules/@angular/compiler/test/template_parser/template_parser_spec.ts +++ b/modules/@angular/compiler/test/template_parser/template_parser_spec.ts @@ -1220,8 +1220,9 @@ Can't have multiple template bindings on one element. Use only one attribute nam }); it('should report when mix of template and *attrs are used on the same element', () => { - expect(() => parse('
', [])).toThrowError(`Template parse errors: -Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with * ("
]*ngFor>"): TestComp@0:21`); + expect(() => parse('', [])) + .toThrowError(`Template parse errors: +Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with * ("]*ngFor>"): TestComp@0:22`); }); it('should report invalid property names', () => {