diff --git a/test/i18nRule.spec.ts b/test/i18nRule.spec.ts index d6190379e..494f3f4ad 100644 --- a/test/i18nRule.spec.ts +++ b/test/i18nRule.spec.ts @@ -155,6 +155,20 @@ describe('i18n', () => { assertSuccess('i18n', source, ['check-text']); }); + it('should work with input and text', () => { + const source = ` + @Component({ + template: \` + + \` + }) + class Bar {}`; + assertSuccess('i18n', source, ['check-text']); + }); + it('should work with plural', () => { const source = ` @Component({