From 0f7e4fae207c15056aae67282d64ec6f7c1e91fb Mon Sep 17 00:00:00 2001 From: Alex Rickabaugh Date: Wed, 13 Jun 2018 09:44:36 -0700 Subject: [PATCH] style(ivy): defeat clang format issue (#24479) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit clang-format (on mac) has taken a disliking to this particular line, and rewrites one of the ɵ characters to an invalid Unicode sequence. PR Close #24479 --- .../render3/compiler_canonical/component_directives_spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/test/render3/compiler_canonical/component_directives_spec.ts b/packages/core/test/render3/compiler_canonical/component_directives_spec.ts index d15391a594..9f2bb7c85c 100644 --- a/packages/core/test/render3/compiler_canonical/component_directives_spec.ts +++ b/packages/core/test/render3/compiler_canonical/component_directives_spec.ts @@ -530,7 +530,11 @@ describe('components & directives', () => { $r3$.ɵT(0); } if (rf & 2) { + // clang-format wants to break this line by changing the second 'ɵ' to an invalid + // unicode sequence. + // clang-format off $r3$.ɵt(0, $r3$.ɵb(ctx.num)); + // clang-format on } }, inputs: {num: 'num'}