From a4e956a7cf63bc748bacbd0401cbbf49e01f81f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Tue, 25 Feb 2020 09:28:13 -0800 Subject: [PATCH] style: Reformat test comment for line breaks (#35668) PR Close #35668 --- packages/core/test/acceptance/styling_spec.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/core/test/acceptance/styling_spec.ts b/packages/core/test/acceptance/styling_spec.ts index 63278e8bcf..a73e8e2fa5 100644 --- a/packages/core/test/acceptance/styling_spec.ts +++ b/packages/core/test/acceptance/styling_spec.ts @@ -3460,13 +3460,12 @@ describe('styling', () => { class MyApp { // When the first view in the list gets CD-ed, everything works. // When the second view gets CD-ed, the styling has already created the data structures - // in the `TView`. As a result when - // `[class.foo]` runs it already knows that `[class]` is a duplicate and hence it - // should check with it. While the resolution is happening it reads the value of the - // `[class]`, however `[class]` has not yet executed and therefore it does not have - // normalized value in its `LView`. The result is that the assertions fails as it - // expects an - // `KeyValueArray`. + // in the `TView`. As a result when `[class.foo]` runs it already knows that `[class]` + // is a duplicate and hence it can overwrite the `[class.foo]` binding. While the + // styling resolution is happening the algorithm reads the value of the `[class]` + // (because it overwrites `[class.foo]`), however `[class]` has not yet executed and + // therefore it does not have normalized value in its `LView`. The result is that the + // assertions fails as it expects an `KeyValueArray`. } TestBed.configureTestingModule({declarations: [MyApp, MyCmp, HostStylingsDir]});