diff --git a/test/angularWhitespaceRule.spec.ts b/test/angularWhitespaceRule.spec.ts index 15f2f1279..4538dffc1 100644 --- a/test/angularWhitespaceRule.spec.ts +++ b/test/angularWhitespaceRule.spec.ts @@ -137,6 +137,19 @@ describe('angular-whitespace', () => { `; assertSuccess('angular-whitespace', source, ['check-pipe']); }); + + it('should succeed with i18n and description', () => { + let source = ` + @Component({ + selector: 'foo', + template: \` +

Hello i18n!

+ \` + }) + class Bar {} + `; + assertSuccess('angular-whitespace', source, ['check-pipe']); + }); }); describe('check-semicolon', () => {