From 0cf5ece7f8be32cd8f3a49d8243f9b744f90ff27 Mon Sep 17 00:00:00 2001 From: Marc Laval Date: Fri, 26 Aug 2016 18:12:10 +0200 Subject: [PATCH] build: workaround to run presubmit.sh on Windows (#11096) --- .../compiler/test/template_parser/template_parser_spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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', () => {