build: workaround to run presubmit.sh on Windows (#11096)

This commit is contained in:
Marc Laval 2016-08-26 18:12:10 +02:00 committed by Victor Berchet
parent 66df335998
commit 0cf5ece7f8
1 changed files with 3 additions and 2 deletions

View File

@ -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', () => { it('should report when mix of template and *attrs are used on the same element', () => {
expect(() => parse('<div template="ngIf" *ngFor>', [])).toThrowError(`Template parse errors: expect(() => parse('<span template="ngIf" *ngFor>', []))
Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with * ("<div template="ngIf" [ERROR ->]*ngFor>"): TestComp@0:21`); .toThrowError(`Template parse errors:
Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with * ("<span template="ngIf" [ERROR ->]*ngFor>"): TestComp@0:22`);
}); });
it('should report invalid property names', () => { it('should report invalid property names', () => {