From de87c47dd9f63cefe7c8587aa384065dd6e688fe Mon Sep 17 00:00:00 2001 From: Aliaksei Kuncevic Date: Thu, 23 Mar 2017 14:24:34 +1100 Subject: [PATCH] docs: spelling errors --- packages/compiler/test/aot/compiler_spec.ts | 4 ++-- packages/compiler/test/aot/summary_serializer_spec.ts | 4 ++-- packages/compiler/test/directive_normalizer_spec.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/compiler/test/aot/compiler_spec.ts b/packages/compiler/test/aot/compiler_spec.ts index a5bff51f7f..b72fe8d4da 100644 --- a/packages/compiler/test/aot/compiler_spec.ts +++ b/packages/compiler/test/aot/compiler_spec.ts @@ -416,7 +416,7 @@ describe('compiler (bundled Angular)', () => { }))); }); - describe('Bundled libary', () => { + describe('Bundled library', () => { let host: MockCompilerHost; let aotHost: MockAotCompilerHost; let libraryFiles: Map; @@ -659,4 +659,4 @@ const LIBRARY_USING_APP: MockData = { function expectPromiseToThrow(p: Promise, msg: RegExp) { p.then( () => { throw new Error('Expected to throw'); }, (e) => { expect(e.message).toMatch(msg); }); -} \ No newline at end of file +} diff --git a/packages/compiler/test/aot/summary_serializer_spec.ts b/packages/compiler/test/aot/summary_serializer_spec.ts index abd39dab27..93250d7ad9 100644 --- a/packages/compiler/test/aot/summary_serializer_spec.ts +++ b/packages/compiler/test/aot/summary_serializer_spec.ts @@ -137,7 +137,7 @@ export function main() { .toBe(symbolCache.get('/tmp/external.d.ts', 'SomeExternalPipe')); }); - it('should automatically add the metadata of referenced symbols that are not in the soure files', + it('should automatically add the metadata of referenced symbols that are not in the source files', () => { init(); const externalSerialized = serializeSummaries( @@ -196,7 +196,7 @@ export function main() { // been serialized as well. expect(summaries[2].symbol).toBe(symbolCache.get('/tmp/non_summary.d.ts', 'external')); expect(summaries[2].metadata).toEqual('b'); - // SomService is a transitive dep, but sould have been serialized as well. + // SomService is a transitive dep, but should have been serialized as well. expect(summaries[3].symbol).toBe(symbolCache.get('/tmp/external_svc.d.ts', 'SomeService')); expect(summaries[3].type.type.reference) .toBe(symbolCache.get('/tmp/external_svc.d.ts', 'SomeService')); diff --git a/packages/compiler/test/directive_normalizer_spec.ts b/packages/compiler/test/directive_normalizer_spec.ts index 9c3c9c5308..58129dc917 100644 --- a/packages/compiler/test/directive_normalizer_spec.ts +++ b/packages/compiler/test/directive_normalizer_spec.ts @@ -305,7 +305,7 @@ export function main() { }); describe('normalizeLoadedTemplate', () => { - it('should store the viewEncapsulationin the result', + it('should store the viewEncapsulation in the result', inject([DirectiveNormalizer], (normalizer: DirectiveNormalizer) => { const viewEncapsulation = ViewEncapsulation.Native;