From e2bdef4cf639e3169a0d8d5b8ea302d85a741035 Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Sun, 7 Jan 2018 22:51:48 +0100 Subject: [PATCH] test(language-service): fix minor typos (#21372) PR Close #21372 --- packages/language-service/test/ts_plugin_spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/language-service/test/ts_plugin_spec.ts b/packages/language-service/test/ts_plugin_spec.ts index c82d878597..8dc23effd9 100644 --- a/packages/language-service/test/ts_plugin_spec.ts +++ b/packages/language-service/test/ts_plugin_spec.ts @@ -55,7 +55,7 @@ describe('plugin', () => { } }); - it('should be able to return element diretives', + it('should be able to return element directives', () => { contains('app/app.component.ts', 'empty', 'my-app'); }); it('should be able to return h1 attributes', @@ -65,7 +65,7 @@ describe('plugin', () => { contains('app/app.component.ts', 'div-attributes', '(click)', '[ngClass]', '*ngIf', '*ngFor'); }); - it('should be able to returned attribute names with an incompete attribute', + it('should be able to return attribute names with an incompete attribute', () => { contains('app/parsing-cases.ts', 'no-value-attribute', 'id', 'dir', 'lang'); }); it('should be able to return attributes of an incomplete element', () => { @@ -77,19 +77,19 @@ describe('plugin', () => { it('should be able to return completions with a missing closing tag', () => { contains('app/parsing-cases.ts', 'missing-closing', 'h1', 'h2'); }); - it('should be able to return common attributes of in an unknown tag', + it('should be able to return common attributes of an unknown tag', () => { contains('app/parsing-cases.ts', 'unknown-element', 'id', 'dir', 'lang'); }); it('should be able to get the completions at the beginning of an interpolation', () => { contains('app/app.component.ts', 'h2-hero', 'hero', 'title'); }); - it('should not include private members of the of a class', + it('should not include private members of a class', () => { contains('app/app.component.ts', 'h2-hero', '-internal'); }); it('should be able to get the completions at the end of an interpolation', () => { contains('app/app.component.ts', 'sub-end', 'hero', 'title'); }); - it('should be able to get the completions in a property read', + it('should be able to get the completions in a property', () => { contains('app/app.component.ts', 'h2-name', 'name', 'id'); }); it('should be able to get a list of pipe values', () => { @@ -98,7 +98,7 @@ describe('plugin', () => { contains('app/parsing-cases.ts', 'after-pipe', 'lowercase', 'uppercase'); }); - it('should be able get completions in an empty interpolation', + it('should be able to get completions in an empty interpolation', () => { contains('app/parsing-cases.ts', 'empty-interpolation', 'title', 'subTitle'); }); describe('with attributes', () => {